2021-06-22 13:28:20

by chenxiang (M)

[permalink] [raw]
Subject: [PATCH] sched/fair: Fix a comment of function rebalance_domains()

From: Xiang Chen <[email protected]>

Use sched_init_domains instead of init_sched_domains which is not existed
in kernel.

Signed-off-by: Xiang Chen <[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 161b92a..3021f28 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10026,7 +10026,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.8.1