diff options
author | Bing Huang <huangbing@kylinos.cn> | 2022-11-18 11:42:08 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-12-27 12:52:09 +0100 |
commit | 9a5322db46332a4ce42369e86f031b5e963d841c (patch) | |
tree | c434c394d474b8e4f02c1a97dcc8555273716dc8 /kernel/sched | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
sched/topology: Add __init for init_defrootdomain
init_defrootdomain is only used in initialization
Signed-off-by: Bing Huang <huangbing@kylinos.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20221118034208.267330-1-huangbing775@126.com
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ out: */ struct root_domain def_root_domain; -void init_defrootdomain(void) +void __init init_defrootdomain(void) { init_rootdomain(&def_root_domain); |