Commit 5a7d2980 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Greg Ungerer

m68knommu: Use proper irq_desc accessors in

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent e474563e
...@@ -38,11 +38,13 @@ int show_interrupts(struct seq_file *p, void *v) ...@@ -38,11 +38,13 @@ int show_interrupts(struct seq_file *p, void *v)
seq_puts(p, " CPU0\n"); seq_puts(p, " CPU0\n");
if (irq < NR_IRQS) { if (irq < NR_IRQS) {
ap = irq_desc[irq].action; struct irq_desc *desc = irq_to_desc(irq);
ap = desc->action;
if (ap) { if (ap) {
seq_printf(p, "%3d: ", irq); seq_printf(p, "%3d: ", irq);
seq_printf(p, "%10u ", kstat_irqs(irq)); seq_printf(p, "%10u ", kstat_irqs(irq));
seq_printf(p, "%14s ", irq_desc[irq].chip->name); seq_printf(p, "%14s ", get_irq_desc_chip(desc)->name);
seq_printf(p, "%s", ap->name); seq_printf(p, "%s", ap->name);
for (ap = ap->next; ap; ap = ap->next) for (ap = ap->next; ap; ap = ap->next)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment