aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 6d5dbb7a13e2..d624d50f7729 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1094,7 +1094,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1094#ifdef CONFIG_DEBUG_MUTEXES 1094#ifdef CONFIG_DEBUG_MUTEXES
1095 p->blocked_on = NULL; /* not blocked yet */ 1095 p->blocked_on = NULL; /* not blocked yet */
1096#endif 1096#endif
1097 if (unlikely(ptrace_reparented(current))) 1097 if (unlikely(current->ptrace))
1098 ptrace_fork(p, clone_flags); 1098 ptrace_fork(p, clone_flags);
1099 1099
1100 /* Perform scheduler related setup. Assign this task to a CPU. */ 1100 /* Perform scheduler related setup. Assign this task to a CPU. */