summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorEric W. Biederman2019-05-21 17:03:48 +0200
committerEric W. Biederman2019-05-27 16:36:28 +0200
commitcb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af (patch)
treee09131e28e3f55143862fc2377c30049a6a4b0bc /arch/arc
parentsignal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig (diff)
downloadkernel-qcow2-linux-cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af.tar.gz
kernel-qcow2-linux-cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af.tar.xz
kernel-qcow2-linux-cb44c9a0ab21a9ae4dfcabac1ed8e38aa872d1af.zip
signal: Remove task parameter from force_sigsegv
The function force_sigsegv is always called on the current task so passing in current is redundant and not passing in current makes this fact obvious. This also makes it clear force_sigsegv always calls force_sig on the current task. 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 641c364fc232..725e556678a4 100644
--- a/arch/arc/kernel/process.c
+++ b/arch/arc/kernel/process.c
@@ -313,7 +313,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, current);
+ force_sigsegv(SIGSEGV);
return 0;
}