From: Jesper Nilsson Date: Thu, 17 Jun 2010 13:25:54 +0000 (+0200) Subject: MIPS: Return after handling coprocessor 2 exception X-Git-Tag: firefly_0821_release~9833^2~1438^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=55dc9d51a89ba10a1f7b3ed15f1262eb83e87e74;p=firefly-linux-kernel-4.4.55.git MIPS: Return after handling coprocessor 2 exception Breaking here dropped us to the default code which always sends a SIGILL to the current process, no matter what the CU2 notifier says. [Ralf: Currently this only hurts on Cavium and possibly some out of tree platforms.] Signed-off-by: Jesper Nilsson To: linux-mips@linux-mips.org To: linux-kernel@vger.kernel.org Patchwork: http://patchwork.linux-mips.org/patch/1391/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 8bdd6a663c7f..852780868fb4 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -976,7 +976,7 @@ asmlinkage void do_cpu(struct pt_regs *regs) case 2: raw_notifier_call_chain(&cu2_chain, CU2_EXCEPTION, regs); - break; + return; case 3: break;