summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorByungchul Park <byungchul.park@lge.com>2015-07-06 21:51:02 +0900
committerIngo Molnar <mingo@kernel.org>2015-07-07 08:46:11 +0200
commit399595f248cb25dccb6044b53c47c44c174dc23d (patch)
tree38317e91faa313e6f1565152d1b5ebef3299277a /kernel/sched
parent8e2b0bf397279878babcb39b021edcafe7c945eb (diff)
downloadlinux-399595f248cb25dccb6044b53c47c44c174dc23d.tar.bz2
sched/fair: Fix a comment reflecting function name change
update_cfs_rq_load_contribution() was changed to __update_cfs_rq_tg_load_contrib() - sync up the commit in calc_tg_weight() too. Signed-off-by: Byungchul Park <byungchul.park@lge.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1436187062-19658-1-git-send-email-byungchul.park@lge.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 03ea05bd4c13..587a2f67ceb1 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2349,7 +2349,7 @@ static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq)
/*
* Use this CPU's actual weight instead of the last load_contribution
* to gain a more accurate current total weight. See
- * update_cfs_rq_load_contribution().
+ * __update_cfs_rq_tg_load_contrib().
*/
tg_weight = atomic_long_read(&tg->load_avg);
tg_weight -= cfs_rq->tg_load_contrib;