x86: revert irq number limitation
authorThomas Gleixner <tglx@linutronix.de>
Fri, 21 Nov 2008 19:16:48 +0000 (11:16 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Nov 2008 10:59:52 +0000 (11:59 +0100)
commita1967d64414dab500e86cbbddf8eae6ad2047903
tree301031e3ff5c9adbda6373a5ea2b4aae5e7400ea
parent57550b27ff5a13b00370fbfa34f2471c3456a41d
x86: revert irq number limitation

Impact: fix MSIx not enough irq numbers available regression

The manual revert of the sparse_irq patches missed to bring the number
of possible irqs back to the .27 status. This resulted in a regression
when two multichannel network cards were placed in a system with only
one IO_APIC - causing the networking driver to not have the right
IRQ and the device not coming up.

Remove the dynamic allocation logic leftovers and simply return
NR_IRQS in probe_nr_irqs() for now.

   Fixes: http://lkml.org/lkml/2008/11/19/354

Reported-by: Jesper Dangaard Brouer <hawk@diku.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jesper Dangaard Brouer <hawk@diku.dk>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c