aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-24 22:04:35 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:11 -0400
commitaac3f2b6f6e88827432c4050ac73552f24b19de1 (patch)
treeb8af73f39900767513b0e2237a3a8cac6b574719 /kernel/irq
parent8da077d6f31da291ee3a7dd559671cb8ca48cbe2 (diff)
x86: fix typo in irq_desc array
when SPARSE_IRQ is not used, should still use irq_desc->lock Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 7f625fbc9aa4..fb6bdb602a93 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 = {
253 .chip = &no_irq_chip, 253 .chip = &no_irq_chip,
254 .handle_irq = handle_bad_irq, 254 .handle_irq = handle_bad_irq,
255 .depth = 1, 255 .depth = 1,
256 .lock = __SPIN_LOCK_UNLOCKED(sparse_irqs->lock), 256 .lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock),
257#ifdef CONFIG_SMP 257#ifdef CONFIG_SMP
258 .affinity = CPU_MASK_ALL 258 .affinity = CPU_MASK_ALL
259#endif 259#endif