]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ptrace.h
tracehook: fix CLONE_PTRACE
[linux-2.6-omap-h63xx.git] / include / linux / ptrace.h
index fd31756e1a00f632189022dec352a49fe525ac62..ea7416c901d1ef8923adb2417b236cf8633a09f0 100644 (file)
@@ -172,7 +172,7 @@ static inline void ptrace_init_task(struct task_struct *child, bool ptrace)
        child->ptrace = 0;
        if (unlikely(ptrace)) {
                child->ptrace = current->ptrace;
-               __ptrace_link(child, current->parent);
+               ptrace_link(child, current->parent);
        }
 }