Commit e7e3346c authored by Andrea Gelmini's avatar Andrea Gelmini Committed by Ralf Baechle

MIPS: math-emu: Fix typo

Signed-off-by: default avatarAndrea Gelmini <andrea.gelmini@gelma.net>
Cc: macro@imgtec.com
Cc: trivial@kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13333/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 209b8778
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "ieee754.h" #include "ieee754.h"
/* /*
* Emulate the arbritrary instruction ir at xcp->cp0_epc. Required when * Emulate the arbitrary instruction ir at xcp->cp0_epc. Required when
* we have to emulate the instruction in a COP1 branch delay slot. Do * we have to emulate the instruction in a COP1 branch delay slot. Do
* not change cp0_epc due to the instruction * not change cp0_epc due to the instruction
* *
...@@ -88,7 +88,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc) ...@@ -88,7 +88,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
fr = (struct emuframe __user *) fr = (struct emuframe __user *)
((regs->regs[29] - sizeof(struct emuframe)) & ~0x7); ((regs->regs[29] - sizeof(struct emuframe)) & ~0x7);
/* Verify that the stack pointer is not competely insane */ /* Verify that the stack pointer is not completely insane */
if (unlikely(!access_ok(VERIFY_WRITE, fr, sizeof(struct emuframe)))) if (unlikely(!access_ok(VERIFY_WRITE, fr, sizeof(struct emuframe))))
return SIGBUS; return SIGBUS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment