Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf4a0ce4 authored by Al Viro's avatar Al Viro
Browse files

score: don't open-code force_sigsegv()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6eef0190
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
}