mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
UPSTREAM: MIPS: math-emu: Fix typo
Signed-off-by: Andrea 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: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit e7e3346cc6)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
883f4325f6
commit
afcd2b8978
@@ -8,7 +8,7 @@
|
||||
#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
|
||||
* 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)
|
||||
fr = (struct emuframe __user *)
|
||||
((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))))
|
||||
return SIGBUS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user