sparseirq: fix hang with !SPARSE_IRQ
authorYinghai Lu <yinghai@kernel.org>
Sat, 27 Dec 2008 06:38:15 +0000 (22:38 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 16:52:07 +0000 (17:52 +0100)
commit12026ea16a618b289fcf457661aed24f57323a20
tree69375cb891e5d9593fc7bc9fdd87be952e4325e7
parentfa6beb37b0d9bc00f90f11154eeed9502d8b0a37
sparseirq: fix hang with !SPARSE_IRQ

Impact: fix hang

Suresh report his two sockets system only works with SPARSE_IRQ enable
it turns out we miss the setting desc->irq

so provide early_irq_init() even !SPARSE_IRQ to set desc->irq

Reported-by: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/handle.c