linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Disable PowerMac cpufreq on SMP kernels
@ 2009-08-11  9:39 Bastian Blank
  2009-08-13  6:14 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Bastian Blank @ 2009-08-11  9:39 UTC (permalink / raw)
  To: linuxppc-dev, linux-kernel, Benjamin Herrenschmidt

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,

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-13  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11  9:39 [PATCH] Disable PowerMac cpufreq on SMP kernels Bastian Blank
2009-08-13  6:14 ` Benjamin Herrenschmidt
2009-08-13  9:30   ` [PATCH] Remove SMP warning from PowerMac cpufreq Bastian Blank

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).