aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_32.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-10-15 08:16:55 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:15 -0400
commit2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (patch)
tree5d08e110164176c4011e42d4700ecd0050ad0ce9 /arch/x86/kernel/irq_32.c
parentc6b7674f323622d86316bf7951ad9cae1ce24642 (diff)
genirq: remove sparse irq code
This code is not ready, but we need to rip it out instead of rebasing as we would lose the APIC/IO_APIC unification otherwise. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/irq_32.c')
-rw-r--r--arch/x86/kernel/irq_32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c
index 001772ffc918..ccf6c1bf7120 100644
--- a/arch/x86/kernel/irq_32.c
+++ b/arch/x86/kernel/irq_32.c
@@ -272,20 +272,12 @@ int show_interrupts(struct seq_file *p, void *v)
272 struct irq_desc *desc = NULL; 272 struct irq_desc *desc = NULL;
273 int tail = 0; 273 int tail = 0;
274 274
275#ifdef CONFIG_HAVE_SPARSE_IRQ
276 desc = (struct irq_desc *)v;
277 entries = -1U;
278 i = desc->irq;
279 if (!desc->next)
280 tail = 1;
281#else
282 entries = nr_irqs - 1; 275 entries = nr_irqs - 1;
283 i = *(loff_t *) v; 276 i = *(loff_t *) v;
284 if (i == nr_irqs) 277 if (i == nr_irqs)
285 tail = 1; 278 tail = 1;
286 else 279 else
287 desc = irq_to_desc(i); 280 desc = irq_to_desc(i);
288#endif
289 281
290 if (i == 0) { 282 if (i == 0) {
291 seq_printf(p, " "); 283 seq_printf(p, " ");