diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-05-06 13:08:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 04:35:09 -0400 |
commit | e20c06fd6950265a899edd96a02dc2e6ae2d1ce5 (patch) | |
tree | 851deab98ff271debe6efb76443fb5fdc3d0be0c /arch/x86/include/asm/hw_irq.h | |
parent | bdfe8ac153546537ed24de69610ea781a734f785 (diff) |
x86/pci: add 4 more return parameters to IO_APIC_get_PCI_irq_vector()
To prepare those params for pcibios_irq_enable() to call setup_io_apic_routing().
[ Impact: extend function call API to prepare for new functionality ]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <4A01C406.2040303@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/hw_irq.h')
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index b762ea49bd70..26a40ab70131 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -63,7 +63,9 @@ extern unsigned long io_apic_irqs; | |||
63 | extern void init_VISWS_APIC_irqs(void); | 63 | extern void init_VISWS_APIC_irqs(void); |
64 | extern void setup_IO_APIC(void); | 64 | extern void setup_IO_APIC(void); |
65 | extern void disable_IO_APIC(void); | 65 | extern void disable_IO_APIC(void); |
66 | extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn); | 66 | extern int IO_APIC_get_PCI_irq_vector(int bus, int devfn, int pin, |
67 | int *ioapic, int *ioapic_pin, | ||
68 | int *trigger, int *polarity); | ||
67 | extern void setup_ioapic_dest(void); | 69 | extern void setup_ioapic_dest(void); |
68 | 70 | ||
69 | extern void enable_IO_APIC(void); | 71 | extern void enable_IO_APIC(void); |