commit | e7e9cae5db78030abc73fd3daa93f7cc005177db | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 16 01:59:03 2014 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed May 21 11:12:51 2014 +0200 |
tree | 1fc9338e381dcec645fc90842ae402e0d8fed3b2 | |
parent | 5a7ebbf89395392f16cb5dd342b7edd154ca2d11 [diff] [blame] |
MIPS: math-emu: Use helpers to manipulate CAUSEF_BD flag. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c index 7ea622a..cd047fe 100644 --- a/arch/mips/math-emu/dsemul.c +++ b/arch/mips/math-emu/dsemul.c
@@ -59,7 +59,7 @@ (ir == 0)) { /* NOP is easy */ regs->cp0_epc = cpc; - regs->cp0_cause &= ~CAUSEF_BD; + clear_delay_slot(regs); return 0; } #ifdef DSEMUL_TRACE