aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv')
-rw-r--r--arch/frv/kernel/signal.c4
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
331give_sigsegv: 331give_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
433give_sigsegv: 433give_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() */