From 3098dba01c7daab60762b6f6624ea88c0d6cb65a Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sat, 7 Mar 2009 21:28:24 +0000 Subject: Use a dedicated function to request exit from execution loop Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6762 c046a42c-6fe2-441c-8c8c-71466251a162 --- darwin-user/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'darwin-user/signal.c') diff --git a/darwin-user/signal.c b/darwin-user/signal.c index ba41c2e61a..851e85b60f 100644 --- a/darwin-user/signal.c +++ b/darwin-user/signal.c @@ -215,7 +215,7 @@ static void host_signal_handler(int host_signum, siginfo_t *info, #endif if (queue_signal(sig, &tinfo) == 1) { /* interrupt the virtual CPU as soon as possible */ - cpu_interrupt(global_env, CPU_INTERRUPT_EXIT); + cpu_exit(global_env); } } -- cgit v1.2.3