From: Bastian Blank <bastian@waldi.eu.org>
To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: [PATCH] Disable PowerMac cpufreq on SMP kernels
Date: Tue, 11 Aug 2009 11:39:31 +0200 [thread overview]
Message-ID: <20090811093931.GA15940@wavehammer.waldi.eu.org> (raw)
The build of a PowerMac 32bit kernel currently fails with
error: #warning "WARNING, CPUFREQ not recommended on SMP kernels"
This patch just disables this driver on SMP kernels, as it is obviously
not supported.
Signed-off-by: Bastian Blank <waldi@debian.org>
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 04a8061..99d3564 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -149,7 +149,7 @@ menu "CPU Frequency drivers"
config CPU_FREQ_PMAC
bool "Support for Apple PowerBooks"
- depends on ADB_PMU && PPC32
+ depends on ADB_PMU && PPC32 && !SMP
select CPU_FREQ_TABLE
help
This adds support for frequency switching on Apple PowerBooks,
next reply other threads:[~2009-08-11 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 9:39 Bastian Blank [this message]
2009-08-13 6:14 ` [PATCH] Disable PowerMac cpufreq on SMP kernels Benjamin Herrenschmidt
2009-08-13 9:30 ` [PATCH] Remove SMP warning from PowerMac cpufreq Bastian Blank
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=20090811093931.GA15940@wavehammer.waldi.eu.org \
--to=bastian@waldi.eu.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).