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

From: tip-bot for Byungchul Park
Date: Tue Jul 07 2015 - 02:50:44 EST


Commit-ID: 399595f248cb25dccb6044b53c47c44c174dc23d
Gitweb: http://git.kernel.org/tip/399595f248cb25dccb6044b53c47c44c174dc23d
Author: Byungchul Park <byungchul.park@xxxxxxx>
AuthorDate: Mon, 6 Jul 2015 21:51:02 +0900
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 7 Jul 2015 08:46:11 +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/