2019-12-12 03:44:26

by chenzhou

[permalink] [raw]
Subject: [PATCH] sched/fair: fix function name in comment

Function name "init_sched_domains" has been modified to
"sched_init_domains" in commit 8d5dc5126bb2
("sched/topology: Small cleanup"). Fix the function name
"init_sched_domains" in comment.

Signed-off-by: Chen Zhou <[email protected]>
---
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 08a233e..c872fd4 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -9512,7 +9512,7 @@ void update_max_interval(void)
* It checks each scheduling domain to see if it is due to be balanced,
* and initiates a balancing operation if so.
*
- * Balancing parameters are set up in init_sched_domains.
+ * Balancing parameters are set up in sched_init_domains.
*/
static void rebalance_domains(struct rq *rq, enum cpu_idle_type idle)
{
--
2.7.4