irq, x86: fix lock status with numa_migrate_irq_desc
authorYinghai Lu <yinghai@kernel.org>
Sat, 31 Jan 2009 22:50:07 +0000 (14:50 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 1 Feb 2009 10:36:31 +0000 (11:36 +0100)
commit10b888d6cec2688e65e9e128b14bf98ecd199da2
treeb29736b4fabe128b8a3db00b22c71e98424d03d4
parent9a8ecae87a2b698964b1db9ea504ba1099f479fc
irq, x86: fix lock status with numa_migrate_irq_desc

Eric Paris reported:

> I have an hp dl785g5 which is unable to successfully run
> 2.6.29-0.66.rc3.fc11.x86_64 or 2.6.29-rc2-next-20090126.  During bootup
> (early in userspace daemons starting) I get the below BUG, which quickly
> renders the machine dead.  I assume it is because sparse_irq_lock never
> gets released when the BUG kills that task.

Adjust lock sequence when migrating a descriptor with
CONFIG_NUMA_MIGRATE_IRQ_DESC enabled.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
kernel/irq/numa_migrate.c