From: Jesper Nilsson Date: Wed, 10 Jun 2009 09:45:47 +0000 (+0200) Subject: CRISv32: irq.c - Move end brace outside #endif X-Git-Tag: v2.6.31-rc1~37^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=768c31495abe49227a96261b5aa19f34b30882b1;p=profile%2Fivi%2Fkernel-x86-ivi.git CRISv32: irq.c - Move end brace outside #endif 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 Signed-off-by: Jesper Nilsson Acked-by: Mikael Starvik --- diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c index df3925c..9c9eb5b 100644 --- a/arch/cris/arch-v32/kernel/irq.c +++ b/arch/cris/arch-v32/kernel/irq.c @@ -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. */