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/score | |
parent | 6eef019002e61abdc5e4384e4154d73c9f56d2bc (diff) |
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.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 | ||