summary refs log tree commit diff stats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 22:42:14 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 22:42:14 +0000
commite06fcd754eb630e16c4fef62e2f899402d06cc4a (patch)
tree05dc321f66ec12b565616835a62f9a5dd77aed11 /cpu-exec.c
parent2a3ec4b5b316c34e805bb45ff9a36766c068eed6 (diff)
downloadfocaccia-qemu-e06fcd754eb630e16c4fef62e2f899402d06cc4a.tar.gz
focaccia-qemu-e06fcd754eb630e16c4fef62e2f899402d06cc4a.zip
target-ppc: rework exception code
... also remove two warnings.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5989 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 9a35a59b8e..65435f5415 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -918,7 +918,7 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
     /* we restore the process signal mask as the sigreturn should
        do it (XXX: use sigsetjmp) */
         sigprocmask(SIG_SETMASK, old_set, NULL);
-        raise_exception_err(env, env->exception_index, env->error_code);
+        cpu_loop_exit();
     } else {
         /* activate soft MMU for this block */
         cpu_resume_from_signal(env, puc);