diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2019-02-06 01:14:19 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2019-05-27 16:36:28 +0200 |
commit | f8eac9011b6be56acfb5d1d0dfd5ee30082a12ee (patch) | |
tree | 750f8957974c85f8ea606de65aaceef5e1d180a3 /kernel/signal.c | |
parent | signal: Remove task parameter from force_sig (diff) | |
download | linux-f8eac9011b6be56acfb5d1d0dfd5ee30082a12ee.tar.xz linux-f8eac9011b6be56acfb5d1d0dfd5ee30082a12ee.zip |
signal: Remove task parameter from force_sig_mceerr
All of the callers pass current into force_sig_mceer so remove the
task parameter to make this obvious.
This also makes it clear that force_sig_mceerr passes current
into force_sig_info.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 20878c4c28c2..398489facf9f 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1666,7 +1666,7 @@ int send_sig_fault(int sig, int code, void __user *addr return send_sig_info(info.si_signo, &info, t); } -int force_sig_mceerr(int code, void __user *addr, short lsb, struct task_struct *t) +int force_sig_mceerr(int code, void __user *addr, short lsb) { struct kernel_siginfo info; @@ -1677,7 +1677,7 @@ int force_sig_mceerr(int code, void __user *addr, short lsb, struct task_struct info.si_code = code; info.si_addr = addr; info.si_addr_lsb = lsb; - return force_sig_info(info.si_signo, &info, t); + return force_sig_info(info.si_signo, &info, current); } int send_sig_mceerr(int code, void __user *addr, short lsb, struct task_struct *t) |