Commit 5b1d3f39 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k show_interrupts bug

M68k: Make sure machine-specific interrupts are always printed (bug introduced
by show_interrupts() conversion)
parent 69449862
...@@ -262,8 +262,8 @@ int show_interrupts(struct seq_file *p, void *v) ...@@ -262,8 +262,8 @@ int show_interrupts(struct seq_file *p, void *v)
int i = *(loff_t *) v; int i = *(loff_t *) v;
/* autovector interrupts */ /* autovector interrupts */
if (mach_default_handler) { if (i < SYS_IRQS) {
if (i < SYS_IRQS) { if (mach_default_handler) {
seq_printf(p, "auto %2d: %10u ", i, seq_printf(p, "auto %2d: %10u ", i,
i ? kstat_cpu(0).irqs[i] : num_spurious); i ? kstat_cpu(0).irqs[i] : num_spurious);
seq_puts(p, " "); seq_puts(p, " ");
......
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