From: "Francis Moreau" Date: Wed, 01 Oct 2008 08:27:14 +0000 Subject: Re: HOTPLUG_CPU is not defined Message-Id: <38b2ab8a0810010127k475a538ah4ee8690406cbebb8@mail.gmail.com> List-Id: References: <6iabdp61h3.fsf@mars.wyplay.int> In-Reply-To: <6iabdp61h3.fsf@mars.wyplay.int> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Tue, Sep 30, 2008 at 8:55 PM, Paul Mundt 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 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