aboutsummaryrefslogtreecommitdiff
path: root/user-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 /user-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 'user-exec.c')
-rw-r--r--user-exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/user-exec.c b/user-exec.c
index 75c6d5486b..3b795c1550 100644
--- a/user-exec.c
+++ b/user-exec.c
@@ -52,9 +52,8 @@ static void exception_action(CPUArchState *env1)
/* exit the current TB from a signal handler. The host registers are
restored in a state compatible with the CPU emulator
*/
-void cpu_resume_from_signal(CPUArchState *env1, void *puc)
+void cpu_resume_from_signal(CPUState *cpu, void *puc)
{
- CPUState *cpu = ENV_GET_CPU(env1);
#ifdef __linux__
struct ucontext *uc = puc;
#elif defined(__OpenBSD__)