aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh64/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh64/kernel/signal.c')
-rw-r--r--arch/sh64/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh64/kernel/signal.c b/arch/sh64/kernel/signal.c
index 3ea8929e483b..9e2ffc45c0e0 100644
--- a/arch/sh64/kernel/signal.c
+++ b/arch/sh64/kernel/signal.c
@@ -407,7 +407,7 @@ setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
407static inline void __user * 407static inline void __user *
408get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) 408get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size)
409{ 409{
410 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) 410 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp))
411 sp = current->sas_ss_sp + current->sas_ss_size; 411 sp = current->sas_ss_sp + current->sas_ss_size;
412 412
413 return (void __user *)((sp - frame_size) & -8ul); 413 return (void __user *)((sp - frame_size) & -8ul);