x86, MSI: pass irq_cfg and irq_desc
authorYinghai Lu <yinghai@kernel.org>
Sat, 6 Dec 2008 02:58:34 +0000 (18:58 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 13:31:59 +0000 (14:31 +0100)
commit3145e941fcfe2548fa2270afb1a05bab3a6bc418
tree5bd08b9de84d1be58be040058ac77a4dd8c8d7b2
parentbe5d5350a937cd8513b258739f1099420129e96f
x86, MSI: pass irq_cfg and irq_desc

Impact: simplify code

Pass irq_desc and cfg around, instead of raw IRQ numbers - this way
we dont have to look it up again and again.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
drivers/pci/msi.c
include/linux/msi.h