Commit cf4a0ce4 authored by Al Viro's avatar Al Viro

score: don't open-code force_sigsegv()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6eef0190
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment