From: Yinghai Lu Date: Thu, 25 Sep 2008 02:04:35 +0000 (-0700) Subject: x86: fix typo in irq_desc array X-Git-Tag: v2.6.28-rc1~80^2~32 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=aac3f2b6f6e88827432c4050ac73552f24b19de1;p=linux-2.6-omap-h63xx.git x86: fix typo in irq_desc array when SPARSE_IRQ is not used, should still use irq_desc->lock Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 7f625fbc9aa..fb6bdb602a9 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -253,7 +253,7 @@ struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { .chip = &no_irq_chip, .handle_irq = handle_bad_irq, .depth = 1, - .lock = __SPIN_LOCK_UNLOCKED(sparse_irqs->lock), + .lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock), #ifdef CONFIG_SMP .affinity = CPU_MASK_ALL #endif