From: Al Viro Date: Sun, 22 Apr 2012 01:39:54 +0000 (-0400) Subject: score: don't open-code force_sigsegv() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf4a0ce45c06f79f800f6d8747618901e3a6a8ad;p=linux-beck.git score: don't open-code force_sigsegv() Signed-off-by: Al Viro --- 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; }