x86: ioapic: Add io_apic_setup_irq_pin()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 12:00:56 +0000 (13:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 16:26:49 +0000 (17:26 +0100)
commitff973d041e5ab9ada9e49f4e93ef3a699c511463
treef5fee6d9934d98df18cdeb571a200ddc83562f28
parented972ccf434a9881a5881915ae04602af2776bad
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>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c