* [PATCH v3] sched/topology: Add __init for init_defrootdomain
@ 2022-09-10 2:34 Bing Huang
0 siblings, 0 replies; only message in thread
From: Bing Huang @ 2022-09-10 2:34 UTC (permalink / raw)
To: rostedt, dietmar.eggemann
Cc: brauner, bristot, bsegall, juri.lelli, linux-kernel, mgorman,
mingo, peterz, vincent.guittot, Bing Huang, Randy Dunlap,
Valentin Schneider
From: Bing Huang <huangbing@kylinos.cn>
init_defrootdomain is only used in initialization
Signed-off-by: Bing Huang <huangbing@kylinos.cn>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
---
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(-)
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 @@ 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);
--
2.25.1
No virus found
Checked by Hillstone Network AntiVirus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-10 2:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 2:34 [PATCH v3] sched/topology: Add __init for init_defrootdomain Bing Huang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®