x86: ioapic: Cleanup sparse irq code
authorThomas Gleixner <tglx@linutronix.de>
Tue, 28 Sep 2010 18:34:53 +0000 (20:34 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:53:40 +0000 (16:53 +0200)
commitfbc6bff04a095e049be290ff6f6ac68839166bd6
tree056af820123082b624e757da3d909c1e75d93db2
parentfe6dab4e79e82ec35879bfe1a8968b7d15ac0d91
x86: ioapic: Cleanup sparse irq code

Switch over to the new allocator and remove all the magic which was
caused by the unability to destroy irq descriptors. Get rid of the
create_irq_nr() loop for sparse and non sparse irq.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
arch/x86/kernel/apic/io_apic.c