x86: put irq_2_pin pointer into irq_cfg
commite5a53714acfc7b5f868d07d27c5f02cb00b118db
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:07 +0000 (19 20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:31 +0000 (16 16:52 +0200)
tree087446051c2af229177c1d2aa079d7255077ebb0
parent3ac2de48ed3c998df7f366e039c97eedb27e7c3d
x86: put irq_2_pin pointer into irq_cfg

preallocate 32 irq_2_pin entries, and use get_one_free_irq_2_pin() to get
one more and link to irq_cfg if needed.

so don't waste one where no irq is enabled.

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