aboutsummaryrefslogtreecommitdiff
path: root/target-mips/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/helper.c')
-rw-r--r--target-mips/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c
index 62c53a0bf0..752ee72750 100644
--- a/target-mips/helper.c
+++ b/target-mips/helper.c
@@ -326,6 +326,7 @@ void do_interrupt (CPUState *env)
* come back to the jump
*/
env->CP0_ErrorEPC = env->PC - 4;
+ env->hflags &= ~MIPS_HFLAG_BMASK;
} else {
env->CP0_ErrorEPC = env->PC;
}