diff options
Diffstat (limited to 'arch/score/kernel')
-rw-r--r-- | arch/score/kernel/signal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/score/kernel/signal.c b/arch/score/kernel/signal.c index c3fded7357f0..a087ad85175a 100644 --- a/arch/score/kernel/signal.c +++ b/arch/score/kernel/signal.c | |||
@@ -236,9 +236,7 @@ static int setup_rt_frame(struct k_sigaction *ka, struct pt_regs *regs, | |||
236 | return 0; | 236 | return 0; |
237 | 237 | ||
238 | give_sigsegv: | 238 | give_sigsegv: |
239 | if (signr == SIGSEGV) | 239 | force_sigsegv(signr, current); |
240 | ka->sa.sa_handler = SIG_DFL; | ||
241 | force_sig(SIGSEGV, current); | ||
242 | return -EFAULT; | 240 | return -EFAULT; |
243 | } | 241 | } |
244 | 242 | ||