From: Maciej W. Rozycki Date: Mon, 17 Sep 2007 15:58:18 +0000 (+0100) Subject: [MIPS] DEC: Initialise ioasic_ssr_lock X-Git-Tag: v2.6.23-rc7~3^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68835999435e01311ab57f5556169ad2966b6828;p=linux-2.6 [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 b8a5e75ba0..3e634f2f54 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;