summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2013-10-07 17:37:19 +0400
committerRichard Weinberger <richard@sigma-star.at>2014-08-06 15:03:43 +0400
commitdf5601f9c3d831b4c478b004a1ed90a18643adbe (patch)
treee755cbd9bcbae834b529b59535a46e487bc03323 /include
parent5bdb7611eb7987102f3c0fef1220dd64b6fbd9fd (diff)
downloadlinux-df5601f9c3d831b4c478b004a1ed90a18643adbe.tar.xz
tracehook_signal_handler: Remove sig, info, ka and regs
These parameters are nowhere used, so we can remove them. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tracehook.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h
index 6f8ab7da27c4..84d497297c5f 100644
--- a/include/linux/tracehook.h
+++ b/include/linux/tracehook.h
@@ -133,10 +133,6 @@ static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step)
/**
* tracehook_signal_handler - signal handler setup is complete
- * @sig: number of signal being delivered
- * @info: siginfo_t of signal being delivered
- * @ka: sigaction setting that chose the handler
- * @regs: user register state
* @stepping: nonzero if debugger single-step or block-step in use
*
* Called by the arch code after a signal handler has been set up.
@@ -146,9 +142,7 @@ static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step)
* Called without locks, shortly before returning to user mode
* (or handling more signals).
*/
-static inline void tracehook_signal_handler(int sig, siginfo_t *info,
- const struct k_sigaction *ka,
- struct pt_regs *regs, int stepping)
+static inline void tracehook_signal_handler(int stepping)
{
if (stepping)
ptrace_notify(SIGTRAP);