mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bing Huang <huangbing775@126.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: dietmar.eggemann@arm.com, 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: Re: [PATCH RESEND] sched/topology: Add __init for init_defrootdomain
Date: Fri, 9 Sep 2022 14:22:03 +0800	[thread overview]
Message-ID: <320ceea3-efff-2bde-4704-5c654170daef@126.com> (raw)
In-Reply-To: <20220906203713.4b1a2bbb@gandalf.local.home>


On 9/7/22 08:37, Steven Rostedt wrote:
> On Wed, 31 Aug 2022 17:39:27 +0800
> Bing Huang <huangbing775@126.com> wrote:
>
>> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
>> index b0bf2287dd9d..cd761f1fc60c 100644
>> --- a/kernel/sched/sched.h
>> +++ b/kernel/sched/sched.h
>> @@ -883,7 +883,7 @@ struct root_domain {
>>   	struct perf_domain __rcu *pd;
>>   };
>>   
>> -extern void init_defrootdomain(void);
>> +extern void __init init_defrootdomain(void);
> Function prototypes in headers do not need annotations like __init.
>
> -- Steve
Thanks. I'll send the patch v2 soon.
>
>>   extern int sched_init_domains(const struct cpumask *cpu_map);
>>   extern void rq_attach_root(struct rq *rq, struct root_domain *rd);
>>   extern void sched_get_rd(struct root_domain *rd);


      reply	other threads:[~2022-09-09  6:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31  9:39 Bing Huang
2022-09-05 20:34 ` Randy Dunlap
2022-09-07  0:37 ` Steven Rostedt
2022-09-09  6:22   ` Bing Huang [this message]

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=320ceea3-efff-2bde-4704-5c654170daef@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®