X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsparc%2Fkernel%2Firq.c;h=410b9a72aba97439c042eac98208e6da0ffd3203;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=4e0ed320d225861d56bcb87e00b8fb508d9788cf;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/sparc/kernel/irq.c b/arch/sparc/kernel/irq.c index 4e0ed320d..410b9a72a 100644 --- a/arch/sparc/kernel/irq.c +++ b/arch/sparc/kernel/irq.c @@ -159,7 +159,7 @@ struct irqaction *irq_action[NR_IRQS] = { }; /* Used to protect the IRQ action lists */ -spinlock_t irq_action_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(irq_action_lock); int show_interrupts(struct seq_file *p, void *v) {