aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dsemul.c
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-05-21 08:01:51 -0400
committerRalf Baechle <ralf@linux-mips.org>2016-05-28 06:35:09 -0400
commite7e3346cc64fff306694bdc41908283d195339c1 (patch)
treec883efe1902f674111c9af2ab31219cb5a241c47 /arch/mips/math-emu/dsemul.c
parent209b877833ef256cae4091763f32635ba0b79fdc (diff)
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>
Diffstat (limited to 'arch/mips/math-emu/dsemul.c')
-rw-r--r--arch/mips/math-emu/dsemul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c
index d4ceacd4fa12..47074887e64c 100644
--- a/arch/mips/math-emu/dsemul.c
+++ b/arch/mips/math-emu/dsemul.c
@@ -8,7 +8,7 @@
8#include "ieee754.h" 8#include "ieee754.h"
9 9
10/* 10/*
11 * Emulate the arbritrary instruction ir at xcp->cp0_epc. Required when 11 * Emulate the arbitrary instruction ir at xcp->cp0_epc. Required when
12 * we have to emulate the instruction in a COP1 branch delay slot. Do 12 * we have to emulate the instruction in a COP1 branch delay slot. Do
13 * not change cp0_epc due to the instruction 13 * not change cp0_epc due to the instruction
14 * 14 *
@@ -88,7 +88,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
88 fr = (struct emuframe __user *) 88 fr = (struct emuframe __user *)
89 ((regs->regs[29] - sizeof(struct emuframe)) & ~0x7); 89 ((regs->regs[29] - sizeof(struct emuframe)) & ~0x7);
90 90
91 /* Verify that the stack pointer is not competely insane */ 91 /* Verify that the stack pointer is not completely insane */
92 if (unlikely(!access_ok(VERIFY_WRITE, fr, sizeof(struct emuframe)))) 92 if (unlikely(!access_ok(VERIFY_WRITE, fr, sizeof(struct emuframe))))
93 return SIGBUS; 93 return SIGBUS;
94 94