diff options
Diffstat (limited to 'arch/h8300/kernel/signal.c')
-rw-r--r-- | arch/h8300/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c index f13d5e82d4b9..7787f70a05bb 100644 --- a/arch/h8300/kernel/signal.c +++ b/arch/h8300/kernel/signal.c | |||
@@ -307,7 +307,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size) | |||
307 | 307 | ||
308 | /* This is the X/Open sanctioned signal stack switching. */ | 308 | /* This is the X/Open sanctioned signal stack switching. */ |
309 | if (ka->sa.sa_flags & SA_ONSTACK) { | 309 | if (ka->sa.sa_flags & SA_ONSTACK) { |
310 | if (!on_sig_stack(usp)) | 310 | if (!sas_ss_flags(usp)) |
311 | usp = current->sas_ss_sp + current->sas_ss_size; | 311 | usp = current->sas_ss_sp + current->sas_ss_size; |
312 | } | 312 | } |
313 | return (void *)((usp - frame_size) & -8UL); | 313 | return (void *)((usp - frame_size) & -8UL); |