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
This commit is contained in:
Bing Huang 2022-11-18 11:42:08 +08:00 committed by Peter Zijlstra
parent 1b929c02af
commit 9a5322db46
1 changed files with 1 additions and 1 deletions

View File

@ -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);