aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/fault.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2019-02-05 18:14:19 -0600
committerEric W. Biederman <ebiederm@xmission.com>2019-05-27 09:36:28 -0500
commitf8eac9011b6be56acfb5d1d0dfd5ee30082a12ee (patch)
tree750f8957974c85f8ea606de65aaceef5e1d180a3 /arch/powerpc/mm/fault.c
parentsignal: Remove task parameter from force_sig (diff)
downloadlinux-dev-f8eac9011b6be56acfb5d1d0dfd5ee30082a12ee.tar.xz
linux-dev-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 'arch/powerpc/mm/fault.c')
-rw-r--r--arch/powerpc/mm/fault.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c
index b5d3578d9f65..6ed6c341c670 100644
--- a/arch/powerpc/mm/fault.c
+++ b/arch/powerpc/mm/fault.c
@@ -182,8 +182,7 @@ static int do_sigbus(struct pt_regs *regs, unsigned long address,
if (fault & VM_FAULT_HWPOISON)
lsb = PAGE_SHIFT;
- force_sig_mceerr(BUS_MCEERR_AR, (void __user *)address, lsb,
- current);
+ force_sig_mceerr(BUS_MCEERR_AR, (void __user *)address, lsb);
return 0;
}