Commit 9a5322db authored by Bing Huang's avatar Bing Huang Committed by Peter Zijlstra

sched/topology: Add __init for init_defrootdomain

init_defrootdomain is only used in initialization
Signed-off-by: default avatarBing Huang <huangbing@kylinos.cn>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarValentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20221118034208.267330-1-huangbing775@126.com
parent 1b929c02
...@@ -578,7 +578,7 @@ static int init_rootdomain(struct root_domain *rd) ...@@ -578,7 +578,7 @@ static int init_rootdomain(struct root_domain *rd)
*/ */
struct root_domain def_root_domain; struct root_domain def_root_domain;
void init_defrootdomain(void) void __init init_defrootdomain(void)
{ {
init_rootdomain(&def_root_domain); init_rootdomain(&def_root_domain);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment