summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-22 03:39:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-22 05:59:19 +0200
commitcf4a0ce45c06f79f800f6d8747618901e3a6a8ad (patch)
tree0f3783c00fd11f3fddd2c1b5fc521fc9082450c7 /arch/score
parentcris: don't open-code force_sigsegv() (diff)
downloadlinux-cf4a0ce45c06f79f800f6d8747618901e3a6a8ad.tar.xz
linux-cf4a0ce45c06f79f800f6d8747618901e3a6a8ad.zip
score: don't open-code force_sigsegv()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/kernel/signal.c4
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,
return 0;
give_sigsegv:
- if (signr == SIGSEGV)
- ka->sa.sa_handler = SIG_DFL;
- force_sig(SIGSEGV, current);
+ force_sigsegv(signr, current);
return -EFAULT;
}