]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] DEC: Initialise ioasic_ssr_lock
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 17 Sep 2007 15:58:18 +0000 (16:58 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Sep 2007 18:33:14 +0000 (19:33 +0100)
Fix the definition of the ioasic_ssr_lock spinlock to include a proper
initialisation.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/dec/setup.c

index b8a5e75ba0ab4b6bce2bc979a8c7527f050c571d..3e634f2f5443585c98a6f360ac595b7f3774d6d2 100644 (file)
@@ -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;