2013-04-01 11:14:26

by Li Bin

[permalink] [raw]
Subject: [PATCH] sched: Fix comment of function rebalance_domains

The comment of function rebalance_domains mentions arch_init_sched_domains,
but this function don't exist. The proper function is init_sched_domains.

Signed-off-by: Libin <[email protected]>
---
kernel/sched/fair.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 7a33e59..3a0d40b 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5468,7 +5468,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 arch_init_sched_domains.
+ * Balancing parameters are set up in init_sched_domains.
*/
static void rebalance_domains(int cpu, enum cpu_idle_type idle)
{
--
1.6.0.2


Subject: [tip:sched/core] sched: Fix comment in rebalance_domains()

Commit-ID: b9b0853a4b377f84a5e6ed091816a9a2d6b10918
Gitweb: http://git.kernel.org/tip/b9b0853a4b377f84a5e6ed091816a9a2d6b10918
Author: Libin <[email protected]>
AuthorDate: Mon, 1 Apr 2013 19:14:01 +0800
Committer: Ingo Molnar <[email protected]>
CommitDate: Wed, 10 Apr 2013 13:39:57 +0200

sched: Fix comment in rebalance_domains()

A comment in function rebalance_domains() mentions
arch_init_sched_domains(), but that function does not exist
anymore. The proper function is init_sched_domains().

Signed-off-by: Libin <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[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 bf8ab4f..155783b 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5466,7 +5466,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 arch_init_sched_domains.
+ * Balancing parameters are set up in init_sched_domains.
*/
static void rebalance_domains(int cpu, enum cpu_idle_type idle)
{