aboutsummaryrefslogtreecommitdiff
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-17 18:26:54 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-28 13:25:12 +0200
commit60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094 (patch)
tree1b543cad3d08d8f79df37b72554bd01dcce5ebe1 /linux-user/signal.c
parentcb446ecab714b2444a270be209e0533bcd2ee534 (diff)
cpu: Change cpu_exit() argument to CPUState
It no longer depends on CPUArchState, so move it to qom/cpu.c. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 5da8452b2a..c4e20dc8b9 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -524,7 +524,7 @@ static void host_signal_handler(int host_signum, siginfo_t *info,
host_to_target_siginfo_noswap(&tinfo, info);
if (queue_signal(thread_env, sig, &tinfo) == 1) {
/* interrupt the virtual CPU as soon as possible */
- cpu_exit(thread_env);
+ cpu_exit(ENV_GET_CPU(thread_env));
}
}