diff options
Diffstat (limited to 'arch/mips/math-emu/cp1emu.c')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 47c77e7ffbf8..afb5a0bcf7a5 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -169,7 +169,7 @@ static int isBranchInstr(mips_instruction * i) | |||
169 | 169 | ||
170 | /* | 170 | /* |
171 | * In the Linux kernel, we support selection of FPR format on the | 171 | * In the Linux kernel, we support selection of FPR format on the |
172 | * basis of the Status.FR bit. If an FPU is not present, the FR bit | 172 | * basis of the Status.FR bit. If an FPU is not present, the FR bit |
173 | * is hardwired to zero, which would imply a 32-bit FPU even for | 173 | * is hardwired to zero, which would imply a 32-bit FPU even for |
174 | * 64-bit CPUs so we rather look at TIF_32BIT_REGS. | 174 | * 64-bit CPUs so we rather look at TIF_32BIT_REGS. |
175 | * FPU emu is slow and bulky and optimizing this function offers fairly | 175 | * FPU emu is slow and bulky and optimizing this function offers fairly |
@@ -234,7 +234,7 @@ static int cop1Emulate(struct pt_regs *xcp, struct mips_fpu_struct *ctx, | |||
234 | if (xcp->cp0_cause & CAUSEF_BD) { | 234 | if (xcp->cp0_cause & CAUSEF_BD) { |
235 | /* | 235 | /* |
236 | * The instruction to be emulated is in a branch delay slot | 236 | * The instruction to be emulated is in a branch delay slot |
237 | * which means that we have to emulate the branch instruction | 237 | * which means that we have to emulate the branch instruction |
238 | * BEFORE we do the cop1 instruction. | 238 | * BEFORE we do the cop1 instruction. |
239 | * | 239 | * |
240 | * This branch could be a COP1 branch, but in that case we | 240 | * This branch could be a COP1 branch, but in that case we |
@@ -1335,8 +1335,8 @@ int fpu_emulator_cop1Handler(struct pt_regs *xcp, struct mips_fpu_struct *ctx, | |||
1335 | else { | 1335 | else { |
1336 | /* | 1336 | /* |
1337 | * The 'ieee754_csr' is an alias of | 1337 | * The 'ieee754_csr' is an alias of |
1338 | * ctx->fcr31. No need to copy ctx->fcr31 to | 1338 | * ctx->fcr31. No need to copy ctx->fcr31 to |
1339 | * ieee754_csr. But ieee754_csr.rm is ieee | 1339 | * ieee754_csr. But ieee754_csr.rm is ieee |
1340 | * library modes. (not mips rounding mode) | 1340 | * library modes. (not mips rounding mode) |
1341 | */ | 1341 | */ |
1342 | /* convert to ieee library modes */ | 1342 | /* convert to ieee library modes */ |