public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: linux-sh@vger.kernel.org
Subject: Re: HOTPLUG_CPU is not defined
Date: Wed, 01 Oct 2008 08:27:14 +0000	[thread overview]
Message-ID: <38b2ab8a0810010127k475a538ah4ee8690406cbebb8@mail.gmail.com> (raw)
In-Reply-To: <6iabdp61h3.fsf@mars.wyplay.int>

On Tue, Sep 30, 2008 at 8:55 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Tue, Sep 30, 2008 at 08:51:08PM +0200, Francis Moreau wrote:
>> On Tue, Sep 30, 2008 at 8:24 PM, Paul Mundt <lethal@linux-sh.org> wrote:
>> > On Tue, Sep 30, 2008 at 06:30:00PM +0200, Francis Moreau wrote:
>> >> Any reasons why this macro is not defined for SH ?
>> >>
>> > Yes, it's not implemented.
>> >
>>
>> Well, it doesn't really matter and it avoids some warnings emitted
>> by Kconfig because of this in kernel/power/Kconfig:
>>
>>
>> config PM_SLEEP_SMP
>>         bool
>>         ....
>>         select HOTPLUG_CPU
>>         default y
>>
> We don't provide symbols for stuff we don't support. The fact people
> screw up select usage is nothing new, which is part of the reason it
> should generally be avoided.
>

Still we could define it with a default value to 'n', in that case the symbol
is not provided for the code and kconfig doesn't generate the warning
anymore.

thanks
-- 
Francis

  parent reply	other threads:[~2008-10-01  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 16:30 HOTPLUG_CPU is not defined Francis Moreau
2008-09-30 18:24 ` Paul Mundt
2008-09-30 18:51 ` Francis Moreau
2008-09-30 18:55 ` Paul Mundt
2008-10-01  8:27 ` Francis Moreau [this message]
2008-10-01 10:45 ` Paul Mundt

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=38b2ab8a0810010127k475a538ah4ee8690406cbebb8@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=linux-sh@vger.kernel.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