[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220910023402.144065-1-huangbing775@126.com>
Date: Sat, 10 Sep 2022 10:34:02 +0800
From: Bing Huang <huangbing775@....com>
To: rostedt@...dmis.org, dietmar.eggemann@....com
Cc: brauner@...nel.org, bristot@...hat.com, bsegall@...gle.com,
juri.lelli@...hat.com, linux-kernel@...r.kernel.org,
mgorman@...e.de, mingo@...hat.com, peterz@...radead.org,
vincent.guittot@...aro.org, Bing Huang <huangbing@...inos.cn>,
Randy Dunlap <rdunlap@...radead.org>,
Valentin Schneider <vschneid@...hat.com>
Subject: [PATCH v3] sched/topology: Add __init for init_defrootdomain
From: Bing Huang <huangbing@...inos.cn>
init_defrootdomain is only used in initialization
Signed-off-by: Bing Huang <huangbing@...inos.cn>
Reviewed-by: Steven Rostedt (Google) <rostedt@...dmis.org>
Reviewed-by: Randy Dunlap <rdunlap@...radead.org>
Reviewed-by: Valentin Schneider <vschneid@...hat.com>
---
v1->v2:
Remove __init in function prototype
v2->v3:
Update the "Reviewed-by" tag
kernel/sched/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 8739c2a5a54e..dea9fa39e7c0 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -578,7 +578,7 @@ static int init_rootdomain(struct root_domain *rd)
*/
struct root_domain def_root_domain;
-void init_defrootdomain(void)
+void __init init_defrootdomain(void)
{
init_rootdomain(&def_root_domain);
--
2.25.1
No virus found
Checked by Hillstone Network AntiVirus
Powered by blists - more mailing lists