summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-10-25 18:50:57 +0300
committerEric W. Biederman <ebiederm@xmission.com>2021-10-29 22:31:34 +0300
commite21294a7aaae32c5d7154b187113a04db5852e37 (patch)
treefe8235daea64e169bfbd20d2f9bd395ea012b8b1 /arch/arc
parent0fdc0c4279c822eda8f5ce3b7689d34f4cac2e82 (diff)
downloadlinux-e21294a7aaae32c5d7154b187113a04db5852e37.tar.xz
signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
Now that force_fatal_sig exists it is unnecessary and a bit confusing to use force_sigsegv in cases where the simpler force_fatal_sig is wanted. So change every instance we can to make the code clearer. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Link: https://lkml.kernel.org/r/877de7jrev.fsf@disp2133 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/process.c b/arch/arc/kernel/process.c
index 3793876f42d9..8e90052f6f05 100644
--- a/arch/arc/kernel/process.c
+++ b/arch/arc/kernel/process.c
@@ -294,7 +294,7 @@ int elf_check_arch(const struct elf32_hdr *x)
eflags = x->e_flags;
if ((eflags & EF_ARC_OSABI_MSK) != EF_ARC_OSABI_CURRENT) {
pr_err("ABI mismatch - you need newer toolchain\n");
- force_sigsegv(SIGSEGV);
+ force_fatal_sig(SIGSEGV);
return 0;
}