[tip:sched/core] sched/fair: Fix a comment reflecting function name change

From: tip-bot for Byungchul Park
Date: Mon Jul 06 2015 - 11:52:15 EST


Commit-ID: 3614d4f19d9a16e450a13f89115337ae0d6197e9
Gitweb: http://git.kernel.org/tip/3614d4f19d9a16e450a13f89115337ae0d6197e9
Author: Byungchul Park <byungchul.park@xxxxxxx>
AuthorDate: Mon, 6 Jul 2015 21:51:02 +0900
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Mon, 6 Jul 2015 15:29:56 +0200

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@xxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1436187062-19658-1-git-send-email-byungchul.park@xxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 03ea05b..587a2f6 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/