]> Pileus Git - ~andy/linux/blobdiff - kernel/sched/core.c
sched: Prepare for per-cpu preempt_count
[~andy/linux] / kernel / sched / core.c
index 9c84a9ab1892d2905bd9f0020faddffdf222153c..f575d5bd7e7afe76c0f10a27d9cffc74beca3a62 100644 (file)
@@ -1722,9 +1722,7 @@ void sched_fork(struct task_struct *p)
 #if defined(CONFIG_SMP)
        p->on_cpu = 0;
 #endif
-#ifdef CONFIG_PREEMPT_COUNT
        init_task_preempt_count(p);
-#endif
 #ifdef CONFIG_SMP
        plist_node_init(&p->pushable_tasks, MAX_PRIO);
 #endif