diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 54b15f8cda53..34515772611e 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1204,7 +1204,7 @@ static task_t *copy_process(unsigned long clone_flags, | |||
1204 | attach_pid(p, PIDTYPE_PGID, process_group(p)); | 1204 | attach_pid(p, PIDTYPE_PGID, process_group(p)); |
1205 | attach_pid(p, PIDTYPE_SID, p->signal->session); | 1205 | attach_pid(p, PIDTYPE_SID, p->signal->session); |
1206 | 1206 | ||
1207 | list_add_tail(&p->tasks, &init_task.tasks); | 1207 | list_add_tail_rcu(&p->tasks, &init_task.tasks); |
1208 | __get_cpu_var(process_counts)++; | 1208 | __get_cpu_var(process_counts)++; |
1209 | } | 1209 | } |
1210 | attach_pid(p, PIDTYPE_PID, p->pid); | 1210 | attach_pid(p, PIDTYPE_PID, p->pid); |