[tip:,sched/core] sched/topology: Add __init for init_defrootdomain

Message ID 167214323322.4906.9348067063536351217.tip-bot2@tip-bot2
State New
Headers
Series [tip:,sched/core] sched/topology: Add __init for init_defrootdomain |

Commit Message

tip-bot2 for Thomas Gleixner Dec. 27, 2022, 12:13 p.m. UTC
  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 <huangbing@kylinos.cn>
AuthorDate:    Fri, 18 Nov 2022 11:42:08 +08:00
Committer:     Peter Zijlstra <peterz@infradead.org>
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 <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
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 8739c2a..dea9fa3 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);