sched/topology: Add __init for init_defrootdomain
PATCH v3 1/1 sched/topology: Add __init for init_defrootdomain
From: Bing Huang <[email protected]>
init_defrootdomain is only used in initialization
Signed-off-by Bing Huang <[email protected]>
Reviewed-by Steven Rostedt (Google) <[email protected]>
Reviewed-by Randy Dunlap <[email protected]>
Reviewed-by Valentin Schneider <[email protected]>
---
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(-)
kernel/sched/topology.c +1 -1
@@ -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);
Signature · 5 lines
2.25.1 No virus found Checked by Hillstone Network AntiVirus