LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] don't allow PMAC_APM_EMU for 64-bit
@ 2007-06-02  9:13 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-06-02  9:13 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev list, David Woodhouse

In b302887854d6f0c6f9fc3f1080535e7c1bd53134 I switched the apm emulation
code to use the generic code but accidentally dropped the PPC32
dependency from the configuration symbol. This adds it back.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
Of course, selecting it on 64 bit doesn't make sense (no portables with
64-bit and PMU) and doesn't build either.

--- linux-2.6.orig/drivers/macintosh/Kconfig	2007-06-02 11:11:17.465515541 +0200
+++ linux-2.6/drivers/macintosh/Kconfig	2007-06-02 11:11:24.305515541 +0200
@@ -114,7 +114,7 @@ config PMAC_SMU
 config PMAC_APM_EMU
 	tristate "APM emulation"
 	select APM_EMULATION
-	depends on ADB_PMU && PM
+	depends on ADB_PMU && PM && PPC32
 
 config PMAC_MEDIABAY
 	bool "Support PowerBook hotswap media bay"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-02  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02  9:13 [PATCH] don't allow PMAC_APM_EMU for 64-bit Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox