summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/ptrace.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-09-22 00:38:41 +0200
committerEric W. Biederman <ebiederm@xmission.com>2018-09-27 21:53:35 +0200
commit24b8f79dd8e036da618d158b4c0295208d478c5c (patch)
treefba03330a5bceb32733973c60df4fa543cc4a6fd /arch/arm64/kernel/ptrace.c
parentsignal/arm64: Push siginfo generation into arm64_notify_die (diff)
downloadlinux-24b8f79dd8e036da618d158b4c0295208d478c5c.tar.xz
linux-24b8f79dd8e036da618d158b4c0295208d478c5c.zip
signal/arm64: Remove unneeded tsk parameter from arm64_force_sig_info
Every caller passes in current for tsk so there is no need to pass tsk. Instead make tsk a local variable initialized to current. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/arm64/kernel/ptrace.c')
-rw-r--r--arch/arm64/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
index 6219486fa25f..20b68cb31ecb 100644
--- a/arch/arm64/kernel/ptrace.c
+++ b/arch/arm64/kernel/ptrace.c
@@ -211,7 +211,7 @@ static void ptrace_hbptriggered(struct perf_event *bp,
force_sig_ptrace_errno_trap(si_errno, (void __user *)bkpt->trigger);
}
#endif
- arm64_force_sig_info(&info, "Hardware breakpoint trap (ptrace)", current);
+ arm64_force_sig_info(&info, "Hardware breakpoint trap (ptrace)");
}
/*