From: Al Viro Date: Sun, 26 Sep 2010 18:28:32 +0000 (+0100) Subject: mn10300: avoid SIGSEGV delivery loop X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e46924d246e028c94689087db0699438343a344e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git mn10300: avoid SIGSEGV delivery loop force_sigsegv() is there for purpose... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index 717db14c2cc..57178a8d5af 100644 --- a/arch/mn10300/kernel/signal.c +++ b/arch/mn10300/kernel/signal.c @@ -345,7 +345,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set, return 0; give_sigsegv: - force_sig(SIGSEGV, current); + force_sigsegv(sig, current); return -EFAULT; } @@ -428,7 +428,7 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, return 0; give_sigsegv: - force_sig(SIGSEGV, current); + force_sigsegv(sig, current); return -EFAULT; }