aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/signal.c')
-rw-r--r--arch/alpha/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c
index 2e45e8604e32..741da0945dc4 100644
--- a/arch/alpha/kernel/signal.c
+++ b/arch/alpha/kernel/signal.c
@@ -375,7 +375,7 @@ give_sigsegv:
375static inline void __user * 375static inline void __user *
376get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) 376get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size)
377{ 377{
378 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) 378 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp))
379 sp = current->sas_ss_sp + current->sas_ss_size; 379 sp = current->sas_ss_sp + current->sas_ss_size;
380 380
381 return (void __user *)((sp - frame_size) & -32ul); 381 return (void __user *)((sp - frame_size) & -32ul);