[PATCH 438] m68k show_interrupts bug

From: Geert Uytterhoeven
Date: Tue Apr 13 2004 - 04:03:15 EST


M68k: Make sure machine-specific interrupts are always printed (bug introduced
by show_interrupts() conversion)

--- linux-2.6.5/arch/m68k/kernel/ints.c 2004-04-05 10:41:52.000000000 +0200
+++ linux-m68k-2.6.5/arch/m68k/kernel/ints.c 2004-04-11 12:53:06.000000000 +0200
@@ -262,8 +262,8 @@
int i = *(loff_t *) v;

/* 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,
i ? kstat_cpu(0).irqs[i] : num_spurious);
seq_puts(p, " ");

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/