sched/topology: Add __init for init_defrootdomain
PATCH RESEND 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
Peter Zijlstra
maintainerQuoted 9 lines · Bing Huang
From: Bing Huang <[email protected]>
init_defrootdomainis only used in initializationSigned-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]>---
Thanks
The following commit has been merged into the sched/core branch of tip:
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 9a5322db46332a4ce42369e86f031b5e963d841c Gitweb: https://git.kernel.org/tip/9a5322db46332a4ce42369e86f031b5e963d841c Author: Bing Huang <[email protected]> AuthorDate: Fri, 18 Nov 2022 11:42:08 +08:00 Committer: Peter Zijlstra <[email protected]> CommitterDate: Tue, 27 Dec 2022 12:52:09 +01:00
sched/topology: Add __init for init_defrootdomain
init_defrootdomain is only used in initialization
Signed-off-by Bing Huang <[email protected]>
Signed-off-by Peter Zijlstra (Intel) <[email protected]>
Reviewed-by Steven Rostedt (Google) <[email protected]>
Reviewed-by Randy Dunlap <[email protected]>
Reviewed-by Valentin Schneider <[email protected]>
--- kernel/sched/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +1 -1
@@ -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);