diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-04-30 23:15:07 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-05-24 15:17:23 +1000 |
commit | 531d2895917566ab0d82faa0696d0576569f1053 (patch) | |
tree | a7bdcf3702440f60d94ca887c39cbc2c8ff2a0ed /arch/m68k/kernel/irq.c | |
parent | 0b4bf78214efcdadbbe5b09c5dff35dcc9bcb3df (diff) |
m68knommu: Use generic show_interrupts()
Apart from whitespace differences, /proc/interrupts doesn't change by
enabling GENERIC_IRQ_SHOW.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/kernel/irq.c')
-rw-r--r-- | arch/m68k/kernel/irq.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/m68k/kernel/irq.c b/arch/m68k/kernel/irq.c index 15dbc3e9d20c..544b8717d499 100644 --- a/arch/m68k/kernel/irq.c +++ b/arch/m68k/kernel/irq.c @@ -28,31 +28,3 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs) set_irq_regs(oldregs); } - -int show_interrupts(struct seq_file *p, void *v) -{ - struct irqaction *ap; - int irq = *((loff_t *) v); - - if (irq == 0) - seq_puts(p, " CPU0\n"); - - if (irq < NR_IRQS) { - struct irq_desc *desc = irq_to_desc(irq); - - ap = desc->action; - if (ap) { - seq_printf(p, "%3d: ", irq); - seq_printf(p, "%10u ", kstat_irqs(irq)); - seq_printf(p, "%14s ", irq_desc_get_chip(desc)->name); - - seq_printf(p, "%s", ap->name); - for (ap = ap->next; ap; ap = ap->next) - seq_printf(p, ", %s", ap->name); - seq_putc(p, '\n'); - } - } - - return 0; -} - |