X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fsparc64%2Fkernel%2Firq.c;h=52f7bf9052a667f3d75f11c8ad29ceb93d7e70d7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=3162b2ed1e42659f66df53c57504c49264722896;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 3162b2ed1..52f7bf905 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c @@ -101,7 +101,7 @@ struct irqaction *irq_action[NR_IRQS+1] = { * read things in the table. IRQ handler processing orders * its' accesses such that no locking is needed. */ -static spinlock_t irq_action_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(irq_action_lock); static void register_irq_proc (unsigned int irq);