[PATCH] sched: fix a comment reflecting function name changed

From: byungchul . park
Date: Mon Jul 06 2015 - 08:54:08 EST


From: Byungchul Park <byungchul.park@xxxxxxx>

update_cfs_rq_load_contribution was changed to __update_cfs_rq_tg_load_contrib.
so a comment mentioning the function should be also changed.

Signed-off-by: Byungchul Park <byungchul.park@xxxxxxx>
---
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 09456fc..e809a81 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2353,7 +2353,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;
--
1.7.9.5

--
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/