x86: sparse_irq needs spin_lock in allocations
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 21 Aug 2008 03:46:25 +0000 (20:46 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:59 +0000 (16:52 +0200)
commite89eb43863c2d9f11a3bbe766766fe646e6c50d9
tree3d45bdf7efb5a37edb99f62cbea1d500b3003468
parent7ddfb650c7ef7a33a5ef11c0fdf5b3d837a47dba
x86: sparse_irq needs spin_lock in allocations

Suresh Siddha noticed that we should have a spinlock around it.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
kernel/irq/handle.c