diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-21 21:39:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 23:59:19 -0400 |
commit | cf4a0ce45c06f79f800f6d8747618901e3a6a8ad (patch) | |
tree | 0f3783c00fd11f3fddd2c1b5fc521fc9082450c7 /arch | |
parent | 6eef019002e61abdc5e4384e4154d73c9f56d2bc (diff) | |
download | linux-cf4a0ce45c06f79f800f6d8747618901e3a6a8ad.tar.gz linux-cf4a0ce45c06f79f800f6d8747618901e3a6a8ad.tar.bz2 linux-cf4a0ce45c06f79f800f6d8747618901e3a6a8ad.zip |
score: don't open-code force_sigsegv()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-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, return 0; give_sigsegv: - if (signr == SIGSEGV) - ka->sa.sa_handler = SIG_DFL; - force_sig(SIGSEGV, current); + force_sigsegv(signr, current); return -EFAULT; } |