CRISv32: irq.c - Move end brace outside #endif
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 10 Jun 2009 09:45:47 +0000 (11:45 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Thu, 11 Jun 2009 17:40:56 +0000 (19:40 +0200)
The end brace for a larger for statement was placed inside the #else
part of #ifdef TIMER_VECT1. However, for all current chips, the
define TIMER_VECT1 is always unset, and the error was never triggered.

Move the brace down below the #endif.

Fixes:
http://bugzilla.kernel.org/show_bug.cgi?id=13476

Reported-by: Martin Ettl <ettl.martin@gmx.de>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Mikael Starvik <mikael.starvik@axis.com>
arch/cris/arch-v32/kernel/irq.c

index df3925c..9c9eb5b 100644 (file)
@@ -428,8 +428,8 @@ crisv32_do_multiple(struct pt_regs* regs)
                         masked[i] &= ~TIMER_MASK;
                         do_IRQ(TIMER0_INTR_VECT, regs);
                }
-       }
 #endif
+       }
 
 #ifdef IGNORE_MASK
        /* Remove IRQs that can't be handled as multiple. */