diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index e6c04d462ab2..637520ca0386 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1008,10 +1008,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1008 | copy_flags(clone_flags, p); | 1008 | copy_flags(clone_flags, p); |
1009 | INIT_LIST_HEAD(&p->children); | 1009 | INIT_LIST_HEAD(&p->children); |
1010 | INIT_LIST_HEAD(&p->sibling); | 1010 | INIT_LIST_HEAD(&p->sibling); |
1011 | #ifdef CONFIG_PREEMPT_RCU | 1011 | rcu_copy_process(p); |
1012 | p->rcu_read_lock_nesting = 0; | ||
1013 | p->rcu_flipctr_idx = 0; | ||
1014 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | ||
1015 | p->vfork_done = NULL; | 1012 | p->vfork_done = NULL; |
1016 | spin_lock_init(&p->alloc_lock); | 1013 | spin_lock_init(&p->alloc_lock); |
1017 | 1014 | ||