aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index a9e99f3c18e0..9cc227d54102 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1237,6 +1237,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1237#ifdef CONFIG_CPUSETS 1237#ifdef CONFIG_CPUSETS
1238 p->cpuset_mem_spread_rotor = NUMA_NO_NODE; 1238 p->cpuset_mem_spread_rotor = NUMA_NO_NODE;
1239 p->cpuset_slab_spread_rotor = NUMA_NO_NODE; 1239 p->cpuset_slab_spread_rotor = NUMA_NO_NODE;
1240 seqcount_init(&p->mems_allowed_seq);
1240#endif 1241#endif
1241#ifdef CONFIG_TRACE_IRQFLAGS 1242#ifdef CONFIG_TRACE_IRQFLAGS
1242 p->irq_events = 0; 1243 p->irq_events = 0;