aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ptrace.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-05 13:06:22 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 00:01:24 -0500
commitb7f9591c44505ee16ed4561cfeb3642798bdd132 (patch)
treed7e0ac4a0f36440fffe487c71130a844df566878 /include/linux/ptrace.h
parentnew helper: signal_pt_regs() (diff)
downloadlinux-dev-b7f9591c44505ee16ed4561cfeb3642798bdd132.tar.xz
linux-dev-b7f9591c44505ee16ed4561cfeb3642798bdd132.zip
get rid of ptrace_signal_deliver() arguments
the first one is equal to signal_pt_regs(), the second is never used (and always NULL, while we are at it). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/ptrace.h')
-rw-r--r--include/linux/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h
index b8e6dcec78ae..a89ff04bddd9 100644
--- a/include/linux/ptrace.h
+++ b/include/linux/ptrace.h
@@ -330,7 +330,7 @@ static inline void user_single_step_siginfo(struct task_struct *tsk,
#endif
#ifndef ptrace_signal_deliver
-#define ptrace_signal_deliver(regs, cookie) do { } while (0)
+#define ptrace_signal_deliver() ((void)0)
#endif
/*