summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2019-02-05 19:14:19 -0500
committerEric W. Biederman <ebiederm@xmission.com>2019-05-27 10:36:28 -0400
commitf8eac9011b6be56acfb5d1d0dfd5ee30082a12ee (patch)
tree750f8957974c85f8ea606de65aaceef5e1d180a3 /mm/memory-failure.c
parent3cf5d076fb4d48979f382bc9452765bf8b79e740 (diff)
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 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index fc8b51744579..bc749265a8f3 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -221,7 +221,7 @@ static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags)
221 221
222 if ((flags & MF_ACTION_REQUIRED) && t->mm == current->mm) { 222 if ((flags & MF_ACTION_REQUIRED) && t->mm == current->mm) {
223 ret = force_sig_mceerr(BUS_MCEERR_AR, (void __user *)tk->addr, 223 ret = force_sig_mceerr(BUS_MCEERR_AR, (void __user *)tk->addr,
224 addr_lsb, current); 224 addr_lsb);
225 } else { 225 } else {
226 /* 226 /*
227 * Don't use force here, it's convenient if the signal 227 * Don't use force here, it's convenient if the signal