diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 5fb2d0661c78..48203c68e39f 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -329,7 +329,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set) | |||
329 | return 0; | 329 | return 0; |
330 | 330 | ||
331 | give_sigsegv: | 331 | give_sigsegv: |
332 | force_sig(SIGSEGV, current); | 332 | force_sigsegv(sig, current); |
333 | return -EFAULT; | 333 | return -EFAULT; |
334 | 334 | ||
335 | } /* end setup_frame() */ | 335 | } /* end setup_frame() */ |
@@ -431,7 +431,7 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
431 | return 0; | 431 | return 0; |
432 | 432 | ||
433 | give_sigsegv: | 433 | give_sigsegv: |
434 | force_sig(SIGSEGV, current); | 434 | force_sigsegv(sig, current); |
435 | return -EFAULT; | 435 | return -EFAULT; |
436 | 436 | ||
437 | } /* end setup_rt_frame() */ | 437 | } /* end setup_rt_frame() */ |