summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/io_apic.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-23 13:00:56 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-23 17:26:49 +0100
commitff973d041e5ab9ada9e49f4e93ef3a699c511463 (patch)
treef5fee6d9934d98df18cdeb571a200ddc83562f28 /arch/x86/include/asm/io_apic.h
parented972ccf434a9881a5881915ae04602af2776bad (diff)
downloadblackbird-obmc-linux-ff973d041e5ab9ada9e49f4e93ef3a699c511463.tar.gz
blackbird-obmc-linux-ff973d041e5ab9ada9e49f4e93ef3a699c511463.zip
x86: ioapic: Add io_apic_setup_irq_pin()
There are about four places in the ioapic code which do exactly the same setup sequence. Also the OF based ioapic setup needs that function to avoid putting the OF specific code into ioapic.c Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/io_apic.h')
-rw-r--r--arch/x86/include/asm/io_apic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h
index 56dcf08bde62..37dbb3fae395 100644
--- a/arch/x86/include/asm/io_apic.h
+++ b/arch/x86/include/asm/io_apic.h
@@ -151,6 +151,8 @@ void setup_IO_APIC_irq_extra(u32 gsi);
extern void ioapic_and_gsi_init(void);
extern void ioapic_insert_resources(void);
+int io_apic_setup_irq_pin(unsigned int irq, int node, struct io_apic_irq_attr *attr);
+
extern struct IO_APIC_route_entry **alloc_ioapic_entries(void);
extern void free_ioapic_entries(struct IO_APIC_route_entry **ioapic_entries);
extern int save_IO_APIC_setup(struct IO_APIC_route_entry **ioapic_entries);
OpenPOWER on IntegriCloud