aboutsummaryrefslogtreecommitdiff
path: root/target-i386/excp_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/excp_helper.c')
-rw-r--r--target-i386/excp_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c
index ec76eba760..f337fd20fb 100644
--- a/target-i386/excp_helper.c
+++ b/target-i386/excp_helper.c
@@ -108,7 +108,7 @@ static void QEMU_NORETURN raise_interrupt2(CPUX86State *env, int intno,
env->error_code = error_code;
env->exception_is_int = is_int;
env->exception_next_eip = env->eip + next_eip_addend;
- cpu_loop_exit(env);
+ cpu_loop_exit(cs);
}
/* shortcuts to generate exceptions */