aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-09-03 02:12:23 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:48 +0100
commit0ea8cb8895a9f9adea89fb202984dcd9e890e504 (patch)
tree54f751cd1568e87b1d750dc1d80b5f03ce61edb3 /cpu-exec.c
parentb3310ab3380995af2c640a3ffd82f6e7b352c9e6 (diff)
cpu-exec: Change cpu_resume_from_signal() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index c689ef9882..0914d3c85c 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -33,10 +33,8 @@ void cpu_loop_exit(CPUState *cpu)
restored in a state compatible with the CPU emulator
*/
#if defined(CONFIG_SOFTMMU)
-void cpu_resume_from_signal(CPUArchState *env, void *puc)
+void cpu_resume_from_signal(CPUState *cpu, void *puc)
{
- CPUState *cpu = ENV_GET_CPU(env);
-
/* XXX: restore cpu registers saved in host registers */
cpu->exception_index = -1;