]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Normalise code flow in the CpU exception handler
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:25:08 +0000 (23:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:09:18 +0000 (01:09 +0200)
commit88fa09fc39010f5d98ebf182e8164c37ff0939ea
tree5905c8dc84f9099570b66e4811e90d206151588c
parent12b0340d9091fcb15dc77815d1f3d5dfe6d3d6a6
MIPS: Normalise code flow in the CpU exception handler

Changes applied to `do_cpu' over time reduced the use of the SIGILL
issued with `force_sig' at the end to a single CU3 case only in the
switch statement there.  Move that `force_sig' call over to right where
required then and toss out the pile of gotos now not needed to skip over
the call, replacing them with regular breaks out of the switch.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9683/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c