diff options
Diffstat (limited to 'linux-user/alpha/signal.c')
-rw-r--r-- | linux-user/alpha/signal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linux-user/alpha/signal.c b/linux-user/alpha/signal.c index c5c27ce084..0af0227118 100644 --- a/linux-user/alpha/signal.c +++ b/linux-user/alpha/signal.c @@ -257,11 +257,7 @@ long do_rt_sigreturn(CPUAlphaState *env) set_sigmask(&set); restore_sigcontext(env, &frame->uc.tuc_mcontext); - if (do_sigaltstack(frame_addr + offsetof(struct target_rt_sigframe, - uc.tuc_stack), - 0, env->ir[IR_SP]) == -EFAULT) { - goto badframe; - } + target_restore_altstack(&frame->uc.tuc_stack, env->ir[IR_SP]); unlock_user_struct(frame, frame_addr, 0); return -TARGET_QEMU_ESIGRETURN; |