diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-27 17:52:12 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:47 +0100 |
commit | 5638d180d6c469fc4c56127a3c717e8b9f27d925 (patch) | |
tree | 7c8e9eb4f24752077c951c543ff776ee191e81fc /user-exec.c | |
parent | d5a11fefef1eeed86a8f06021067ba9990729a5a (diff) | |
download | qemu-5638d180d6c469fc4c56127a3c717e8b9f27d925.tar.gz qemu-5638d180d6c469fc4c56127a3c717e8b9f27d925.tar.bz2 qemu-5638d180d6c469fc4c56127a3c717e8b9f27d925.zip |
cpu-exec: Change cpu_loop_exit() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'user-exec.c')
-rw-r--r-- | user-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user-exec.c b/user-exec.c index dbb9c8d0a7..e149c9732f 100644 --- a/user-exec.c +++ b/user-exec.c @@ -40,12 +40,12 @@ static void exception_action(CPUArchState *env1) { -#if defined(TARGET_I386) CPUState *cpu = ENV_GET_CPU(env1); +#if defined(TARGET_I386) raise_exception_err(env1, cpu->exception_index, env1->error_code); #else - cpu_loop_exit(env1); + cpu_loop_exit(cpu); #endif } |