diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index b646dad4a40e..3925a1bbf5dd 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2595,7 +2595,9 @@ void sched_fork(struct task_struct *p, int clone_flags) | |||
2595 | /* Want to start with kernel preemption disabled. */ | 2595 | /* Want to start with kernel preemption disabled. */ |
2596 | task_thread_info(p)->preempt_count = 1; | 2596 | task_thread_info(p)->preempt_count = 1; |
2597 | #endif | 2597 | #endif |
2598 | #ifdef CONFIG_SMP | ||
2598 | plist_node_init(&p->pushable_tasks, MAX_PRIO); | 2599 | plist_node_init(&p->pushable_tasks, MAX_PRIO); |
2600 | #endif | ||
2599 | 2601 | ||
2600 | put_cpu(); | 2602 | put_cpu(); |
2601 | } | 2603 | } |