x86: ioapic: Use new setup function in pre_init_apic_IRQ0()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 12:07:54 +0000 (13:07 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 16:26:49 +0000 (17:26 +0100)
commitf880ec78fabebc58180778d223600e9be7b48502
tree9fd0e60812cd7f2534ada5124c419b93876949dd
parentff973d041e5ab9ada9e49f4e93ef3a699c511463
x86: ioapic: Use new setup function in pre_init_apic_IRQ0()

Remove the duplicated code and call the function. It does not matter
whether we allocated the cfg before calling setup_local_APIC() and we
can set the irq chip and handler after that as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/io_apic.c