Commit 768c3149 authored by Jesper Nilsson's avatar Jesper Nilsson

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=13476Reported-by: default avatarMartin Ettl <ettl.martin@gmx.de>
Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
Acked-by: default avatarMikael Starvik <mikael.starvik@axis.com>
parent 91a120d0
...@@ -428,8 +428,8 @@ crisv32_do_multiple(struct pt_regs* regs) ...@@ -428,8 +428,8 @@ crisv32_do_multiple(struct pt_regs* regs)
masked[i] &= ~TIMER_MASK; masked[i] &= ~TIMER_MASK;
do_IRQ(TIMER0_INTR_VECT, regs); do_IRQ(TIMER0_INTR_VECT, regs);
} }
}
#endif #endif
}
#ifdef IGNORE_MASK #ifdef IGNORE_MASK
/* Remove IRQs that can't be handled as multiple. */ /* Remove IRQs that can't be handled as multiple. */
......
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