OSDN Git Service

sched/rt: Remove 'leaf_rt_rq_list' from 'struct rq'
authorLi Zefan <lizefan@huawei.com>
Sat, 8 Feb 2014 06:17:26 +0000 (14:17 +0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Feb 2014 17:10:43 +0000 (18:10 +0100)
This is a leftover from commit e23ee74777f389369431d77390c4b09332ce026a
("sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list").

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CBF6.4060901@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/sched.h

index 003263b..cc4965e 100644 (file)
@@ -6876,7 +6876,6 @@ void __init sched_init(void)
 
                rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
 #ifdef CONFIG_RT_GROUP_SCHED
-               INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
                init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
 #endif
 
index caf4abd..d608125 100644 (file)
@@ -543,10 +543,6 @@ struct rq {
        struct list_head leaf_cfs_rq_list;
 #endif /* CONFIG_FAIR_GROUP_SCHED */
 
-#ifdef CONFIG_RT_GROUP_SCHED
-       struct list_head leaf_rt_rq_list;
-#endif
-
        /*
         * This is part of a global counter where only the total sum
         * over all CPUs matters. A task can increase this counter on