aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-10-15 08:34:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:15 -0400
commitee32c9732244bde4b9b59eeac2814c23e2b71f8d (patch)
tree6164d4d8b67a8f870f01d70eefff52ea84a8d22d /arch/x86/kernel/io_apic.c
parent2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (diff)
genirq: remove irq_to_desc_alloc
Remove the leftover of sparseirqs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 683610517d2a..e03bc0f87eef 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -1257,11 +1257,7 @@ static void ioapic_register_intr(int irq, unsigned long trigger)
1257{ 1257{
1258 struct irq_desc *desc; 1258 struct irq_desc *desc;
1259 1259
1260 /* first time to use this irq_desc */ 1260 desc = irq_to_desc(irq);
1261 if (irq < 16)
1262 desc = irq_to_desc(irq);
1263 else
1264 desc = irq_to_desc_alloc(irq);
1265 1261
1266 if ((trigger == IOAPIC_AUTO && IO_APIC_irq_trigger(irq)) || 1262 if ((trigger == IOAPIC_AUTO && IO_APIC_irq_trigger(irq)) ||
1267 trigger == IOAPIC_LEVEL) 1263 trigger == IOAPIC_LEVEL)