From: Maciej W. Rozycki Date: Mon, 17 Sep 2007 15:58:18 +0000 (+0100) Subject: [MIPS] DEC: Initialise ioasic_ssr_lock X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=68835999435e01311ab57f5556169ad2966b6828;p=linux-beck.git [MIPS] DEC: Initialise ioasic_ssr_lock Fix the definition of the ioasic_ssr_lock spinlock to include a proper initialisation. Signed-off-by: Maciej W. Rozycki Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c index b8a5e75ba0ab..3e634f2f5443 100644 --- a/arch/mips/dec/setup.c +++ b/arch/mips/dec/setup.c @@ -55,7 +55,7 @@ EXPORT_SYMBOL(dec_kn_slot_size); int dec_tc_bus; -spinlock_t ioasic_ssr_lock; +DEFINE_SPINLOCK(ioasic_ssr_lock); volatile u32 *ioasic_base;