diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 17bf7c8d6511..e33177edb3bf 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1173,6 +1173,10 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1173 | } | 1173 | } |
1174 | mpol_fix_fork_child_flag(p); | 1174 | mpol_fix_fork_child_flag(p); |
1175 | #endif | 1175 | #endif |
1176 | #ifdef CONFIG_CPUSETS | ||
1177 | p->cpuset_mem_spread_rotor = NUMA_NO_NODE; | ||
1178 | p->cpuset_slab_spread_rotor = NUMA_NO_NODE; | ||
1179 | #endif | ||
1176 | #ifdef CONFIG_TRACE_IRQFLAGS | 1180 | #ifdef CONFIG_TRACE_IRQFLAGS |
1177 | p->irq_events = 0; | 1181 | p->irq_events = 0; |
1178 | #ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW | 1182 | #ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW |