aboutsummaryrefslogtreecommitdiff
path: root/linux-user/m68k/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/m68k/signal.c')
-rw-r--r--linux-user/m68k/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/m68k/signal.c b/linux-user/m68k/signal.c
index 004b59fb61..d06230655e 100644
--- a/linux-user/m68k/signal.c
+++ b/linux-user/m68k/signal.c
@@ -400,7 +400,7 @@ long do_rt_sigreturn(CPUM68KState *env)
if (target_rt_restore_ucontext(env, &frame->uc))
goto badframe;
- target_restore_altstack(&frame->uc.tuc_stack, get_sp_from_cpustate(env));
+ target_restore_altstack(&frame->uc.tuc_stack, env);
unlock_user_struct(frame, frame_addr, 0);
return -TARGET_QEMU_ESIGRETURN;