summaryrefslogtreecommitdiff
path: root/include/linux/ptrace.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-05 22:06:22 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 09:01:24 +0400
commitb7f9591c44505ee16ed4561cfeb3642798bdd132 (patch)
treed7e0ac4a0f36440fffe487c71130a844df566878 /include/linux/ptrace.h
parent22062a96300dabfef93368a28c34bdf35c9b8308 (diff)
downloadlinux-b7f9591c44505ee16ed4561cfeb3642798bdd132.tar.xz
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
/*