summaryrefslogtreecommitdiff
path: root/include/linux/tracehook.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-24 02:44:49 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-23 22:09:19 -0400
commit1227dd773d8d4e3983b4b751f9ffa0f41402fb7c (patch)
tree8fb48e099710fa179c6ca7dd4c5298513dcd5659 /include/linux/tracehook.h
parentf9369910a6225b8d4892c3f20ae740a711cd5ace (diff)
TIF_NOTIFY_RESUME is defined on all targets now
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/tracehook.h')
-rw-r--r--include/linux/tracehook.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h
index 51bd91d911c3..8a2a3fc9bd05 100644
--- a/include/linux/tracehook.h
+++ b/include/linux/tracehook.h
@@ -153,7 +153,6 @@ static inline void tracehook_signal_handler(int sig, siginfo_t *info,
ptrace_notify(SIGTRAP);
}
-#ifdef TIF_NOTIFY_RESUME
/**
* set_notify_resume - cause tracehook_notify_resume() to be called
* @task: task that will call tracehook_notify_resume()
@@ -185,6 +184,5 @@ static inline void set_notify_resume(struct task_struct *task)
static inline void tracehook_notify_resume(struct pt_regs *regs)
{
}
-#endif /* TIF_NOTIFY_RESUME */
#endif /* <linux/tracehook.h> */