Merge commit 'v2.6.30-rc3' into tracing/hw-branch-tracing
[cascardo/linux.git] / kernel / fork.c
index b9e2edd..7d10c46 100644 (file)
@@ -1089,8 +1089,8 @@ static struct task_struct *copy_process(unsigned long clone_flags,
 #ifdef CONFIG_DEBUG_MUTEXES
        p->blocked_on = NULL; /* not blocked yet */
 #endif
-       if (unlikely(current->ptrace))
-               ptrace_fork(p, clone_flags);
+
+       p->bts = NULL;
 
        /* Perform scheduler related setup. Assign this task to a CPU. */
        sched_fork(p, clone_flags);