|
@@ -7777,7 +7777,6 @@ void __init sched_init(void)
|
|
|
#ifdef CONFIG_FAIR_GROUP_SCHED
|
|
|
init_task_group.shares = init_task_group_load;
|
|
|
INIT_LIST_HEAD(&rq->leaf_cfs_rq_list);
|
|
|
-#ifdef CONFIG_CGROUP_SCHED
|
|
|
/*
|
|
|
* How much cpu bandwidth does init_task_group get?
|
|
|
*
|
|
@@ -7798,15 +7797,12 @@ void __init sched_init(void)
|
|
|
* directly in rq->cfs (i.e init_task_group->se[] = NULL).
|
|
|
*/
|
|
|
init_tg_cfs_entry(&init_task_group, &rq->cfs, NULL, i, NULL);
|
|
|
-#endif
|
|
|
#endif /* CONFIG_FAIR_GROUP_SCHED */
|
|
|
|
|
|
rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
|
|
|
#ifdef CONFIG_RT_GROUP_SCHED
|
|
|
INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
|
|
|
-#ifdef CONFIG_CGROUP_SCHED
|
|
|
init_tg_rt_entry(&init_task_group, &rq->rt, NULL, i, NULL);
|
|
|
-#endif
|
|
|
#endif
|
|
|
|
|
|
for (j = 0; j < CPU_LOAD_IDX_MAX; j++)
|