powerpc: make 64-bit hibernation depend on !64K_PAGES

Message ID 1222262942.4257.9.camel@johannes.berg
State Superseded, archived
Headers show

Commit Message

Johannes Berg Sept. 24, 2008, 1:29 p.m.
For reasons I haven't tried to figure out yet, and which are quite
possibly my own fault, the hibernation code doesn't work with 64K pages.
Until somebody is able to figure out why (if anyone cares; I seem to be
the only person on earth actually using this code once a while) make it
depend on !PPC_64K_PAGES.

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

Patch

--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -194,7 +194,7 @@  config HIBERNATE_32
 
 config HIBERNATE_64
 	bool
-	depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
+	depends on BROKEN || (PPC_PMAC64 && !PPC_64K_PAGES && EXPERIMENTAL)
 	default y
 
 config ARCH_HIBERNATION_POSSIBLE