aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2015-04-03 18:24:14 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-04-07 19:08:47 -0400
commit1f443779009c10e118e03569939807a4bfe0d330 (patch)
tree0ec1cbbac3e412e94548801a1dae6b201bb2f31d /arch/mips/kernel
parent1796ec774237948156936cd4b8f543585699e8a9 (diff)
MIPS: Correct the comment for FPU emulator traps
Adjust the explanatory comment for FPU emulator traps according to ba3049ed [MIPS: Switch FPU emulator trap to BREAK instruction.]; originally coming from `do_ade'. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9672/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/traps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index b0210b065197..2444c6f9fc03 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -879,9 +879,9 @@ void do_trap_or_bp(struct pt_regs *regs, unsigned int code,
879 break; 879 break;
880 case BRK_MEMU: 880 case BRK_MEMU:
881 /* 881 /*
882 * Address errors may be deliberately induced by the FPU 882 * This breakpoint code is used by the FPU emulator to retake
883 * emulator to retake control of the CPU after executing the 883 * control of the CPU after executing the instruction from the
884 * instruction in the delay slot of an emulated branch. 884 * delay slot of an emulated branch.
885 * 885 *
886 * Terminate if exception was recognized as a delay slot return 886 * Terminate if exception was recognized as a delay slot return
887 * otherwise handle as normal. 887 * otherwise handle as normal.