From: Bing Huang <huangbing775@126.com>
To: dietmar.eggemann@arm.com
Cc: rostedt@goodmis.org, brauner@kernel.org, bristot@redhat.com,
bsegall@google.com, juri.lelli@redhat.com,
linux-kernel@vger.kernel.org, mgorman@suse.de, mingo@redhat.com,
peterz@infradead.org, vincent.guittot@linaro.org
Subject: [RESEND PATCH v3] sched/topology: Add __init for init_defrootdomain
Date: Fri, 18 Nov 2022 11:42:08 +0800 [thread overview]
Message-ID: <20221118034208.267330-1-huangbing775@126.com> (raw)
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
next reply other threads:[~2022-11-18 4:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 3:42 Bing Huang [this message]
2022-11-18 10:18 ` Peter Zijlstra
2022-12-27 12:13 ` [tip: sched/core] " tip-bot2 for Bing Huang
-- strict thread matches above, loose matches on Subject: below --
2022-11-11 6:39 [RESEND PATCH v3] " Bing Huang
2022-09-23 1:21 Bing Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221118034208.267330-1-huangbing775@126.com \
--to=huangbing775@126.com \
--cc=brauner@kernel.org \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®