]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] m68k show_interrupts bug
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 13 Apr 2004 00:32:38 +0000 (17:32 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 00:32:38 +0000 (17:32 -0700)
M68k: Make sure machine-specific interrupts are always printed (bug introduced
by show_interrupts() conversion)

arch/m68k/kernel/ints.c

index 850c943449d920e3689a2b7108e6820dad97f4b3..514d323ad5369beeba60be337126d8f854309767 100644 (file)
@@ -262,8 +262,8 @@ int show_interrupts(struct seq_file *p, void *v)
        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, "  ");