summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dsemul.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 01:59:03 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 11:12:51 +0200
commite7e9cae5db78030abc73fd3daa93f7cc005177db (patch)
tree1fc9338e381dcec645fc90842ae402e0d8fed3b2 /arch/mips/math-emu/dsemul.c
parentMIPS: branch: New helpers to modify branch delay slot flag in struct pt_regs (diff)
downloadlinux-e7e9cae5db78030abc73fd3daa93f7cc005177db.tar.xz
linux-e7e9cae5db78030abc73fd3daa93f7cc005177db.zip
MIPS: math-emu: Use helpers to manipulate CAUSEF_BD flag.
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c
index 7ea622ab8dad..cd047fe6d9ef 100644
--- a/arch/mips/math-emu/dsemul.c
+++ b/arch/mips/math-emu/dsemul.c
@@ -59,7 +59,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
(ir == 0)) {
/* NOP is easy */
regs->cp0_epc = cpc;
- regs->cp0_cause &= ~CAUSEF_BD;
+ clear_delay_slot(regs);
return 0;
}
#ifdef DSEMUL_TRACE