MIPS: Correct the comment for FPU emulator traps
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:24:14 +0000 (23:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:08:47 +0000 (01:08 +0200)
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>
arch/mips/kernel/traps.c

index b0210b0651978ab6d6d5fd9bd23266a6058af50c..2444c6f9fc031a40a6289d224b2ab1139fbba043 100644 (file)
@@ -879,9 +879,9 @@ void do_trap_or_bp(struct pt_regs *regs, unsigned int code,
                break;
        case BRK_MEMU:
                /*
-                * Address errors may be deliberately induced by the FPU
-                * emulator to retake control of the CPU after executing the
-                * instruction in the delay slot of an emulated branch.
+                * This breakpoint code is used by the FPU emulator to retake
+                * control of the CPU after executing the instruction from the
+                * delay slot of an emulated branch.
                 *
                 * Terminate if exception was recognized as a delay slot return
                 * otherwise handle as normal.