From: Sam Ravnborg <sam@ravnborg.org>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, Meelis Roos <mroos@linux.ee>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-pm@lists.linux-foundation.org, Pavel Machek <pavel@ucw.cz>
Subject: Re: [3/3] 2.6.23-rc2: known regressions v2
Date: Mon, 13 Aug 2007 20:35:03 +0200 [thread overview]
Message-ID: <20070813183503.GA18722@uranus.ravnborg.org> (raw)
In-Reply-To: <6bffcb0e0708130621s74411866mc07446854fb96cd4@mail.gmail.com>
On Mon, Aug 13, 2007 at 03:21:54PM +0200, Michal Piotrowski wrote:
> > >
> > > The patch changes the warning to a different warning, it's now
> > > kernel/power/Kconfig:79:warning: 'select' used by config symbol 'PM_SLEEP_SMP' refers to undefined symbol 'HOTPLUG_CPU'
So we have something like this for ppc:
config PM_SLEEP_SMP
bool "bla bla"
select HOTPLUG_CPU
As it is not in my -linus tree it has been added by the referanced patch
in the text I zapped.
The warning is generated _independently_ of the actual configuration.
All it says is that the symbol PM_SLEEP_SMP has a seelct statement
for an unknown symbol - unknown for this architecture at least.
Grepping will reveal that HOTPLUG_CPU is not present for ppc and
the easiet fix here seems to just add it like in the following:
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index 6bdeeb7..e7bcd57 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -65,6 +65,10 @@ config GENERIC_BUG
default y
depends on BUG
+config HOTPLUG_CPU
+ bool
+ default n
+
source "init/Kconfig"
menu "Processor"
[cut'n'paste so whitespace damaged...]
This will silence the warning...
Now as PM_SLEEP_SMP requires HOTPLUG_CPU there most be done
something else to prevent this config symbol to be selected
otherwise we would end up with a kernel that has HOTPLUG_CPU
defined even it is not supported.
Sam
next prev parent reply other threads:[~2007-08-13 18:48 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <46B9F664.9060600@googlemail.com>
2007-08-08 17:11 ` [2/3] 2.6.23-rc2: known regressions v2 Michal Piotrowski
2007-08-08 17:11 ` Michal Piotrowski
2007-08-08 17:11 ` Michal Piotrowski
2007-08-08 17:11 ` Michal Piotrowski
2007-08-08 17:11 ` Michal Piotrowski
2007-08-08 17:11 ` Michal Piotrowski
2007-08-08 17:12 ` [3/3] " Michal Piotrowski
2007-08-08 17:22 ` Andrew Vasquez
2007-08-08 20:07 ` Alan Stern
2007-08-08 20:07 ` Alan Stern
2007-08-08 20:10 ` Rafael J. Wysocki
2007-08-08 20:10 ` Rafael J. Wysocki
2007-08-10 19:03 ` Meelis Roos
2007-08-10 19:03 ` Meelis Roos
2007-08-10 19:24 ` Rafael J. Wysocki
2007-08-10 19:29 ` Meelis Roos
2007-08-10 20:06 ` Rafael J. Wysocki
2007-08-10 20:06 ` Rafael J. Wysocki
2007-08-11 10:53 ` Meelis Roos
2007-08-11 21:42 ` Rafael J. Wysocki
2007-08-11 21:42 ` Rafael J. Wysocki
2007-08-13 13:21 ` Michal Piotrowski
2007-08-13 13:21 ` Michal Piotrowski
2007-08-13 18:35 ` Sam Ravnborg [this message]
2007-08-13 20:59 ` Rafael J. Wysocki
2007-08-13 20:59 ` Rafael J. Wysocki
2007-08-13 20:56 ` Sam Ravnborg
2007-08-13 20:56 ` Sam Ravnborg
2007-08-13 18:35 ` Sam Ravnborg
2007-08-11 10:53 ` Meelis Roos
2007-08-10 20:16 ` Rafael J. Wysocki
2007-08-10 20:16 ` Rafael J. Wysocki
2007-08-10 19:29 ` Meelis Roos
2007-08-10 19:24 ` Rafael J. Wysocki
2007-08-08 17:12 ` Michal Piotrowski
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=20070813183503.GA18722@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=michal.k.k.piotrowski@gmail.com \
--cc=mroos@linux.ee \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.