diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-05 13:06:22 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 00:01:24 -0500 |
commit | b7f9591c44505ee16ed4561cfeb3642798bdd132 (patch) | |
tree | d7e0ac4a0f36440fffe487c71130a844df566878 /include/linux/ptrace.h | |
parent | 22062a96300dabfef93368a28c34bdf35c9b8308 (diff) | |
download | linux-stable-b7f9591c44505ee16ed4561cfeb3642798bdd132.tar.gz linux-stable-b7f9591c44505ee16ed4561cfeb3642798bdd132.tar.bz2 linux-stable-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.h | 2 |
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 /* |