MIPS: math-emu: Use helpers to manipulate CAUSEF_BD flag.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2014-04-16 01:59:03 +02:00
parent 5a7ebbf893
commit e7e9cae5db
2 changed files with 8 additions and 8 deletions

View File

@@ -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