aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index ec445cadbb01..12ab9338d563 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -610,8 +610,7 @@ static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
610 */ 610 */
611static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu) 611static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu)
612{ 612{
613 /* A later patch will take group into account */ 613 return cfs_rq->tg->cfs_rq[this_cpu];
614 return &cpu_rq(this_cpu)->cfs;
615} 614}
616 615
617/* Iterate thr' all leaf cfs_rq's on a runqueue */ 616/* Iterate thr' all leaf cfs_rq's on a runqueue */