Skip to content

Commit

Permalink
MIPS: Return after handling coprocessor 2 exception
Browse files Browse the repository at this point in the history
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 <jesper@jni.nu>
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 <ralf@linux-mips.org>
  • Loading branch information
Jesper Nilsson authored and Ralf Baechle committed Jul 5, 2010
1 parent 121915c commit 55dc9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 55dc9d5

Please sign in to comment.