Skip to content

Commit

Permalink
score: don't open-code force_sigsegv()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed May 22, 2012
1 parent 6eef019 commit cf4a0ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/score/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cf4a0ce

Please sign in to comment.