Commit 1beb4f52 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix build after show_interrupts() changes.

parent 1979c599
......@@ -137,7 +137,7 @@ int show_interrupts(struct seq_file *p, void *v)
spin_lock_irqsave(&irq_action_lock, flags);
if (i <= NR_IRQS) {
if (!(action = *(i + irq_action)))
continue;
goto out_unlock;
seq_printf(p, "%3d: ", i);
#ifndef CONFIG_SMP
seq_printf(p, "%10u ", kstat_irqs(i));
......@@ -157,6 +157,7 @@ int show_interrupts(struct seq_file *p, void *v)
}
seq_putc(p, '\n');
}
out_unlock:
spin_unlock_irqrestore(&irq_action_lock, flags);
return 0;
......
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