aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index cbf17caa11..8ce5425830 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -155,6 +155,8 @@ void cpu_reset(CPUX86State *env)
tlb_flush(env, 1);
+ env->old_exception = -1;
+
/* init to reset state */
#ifdef CONFIG_SOFTMMU