aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-07 20:12:39 -0500
committerLen Brown <len.brown@intel.com>2008-02-01 18:30:55 -0500
commit801e4062fda6496fe9bee3e6915a2aa108f974e5 (patch)
tree092e988b58a3dae9135aac742c8318a5963f095f /arch/powerpc/Kconfig
parent23976728a48c3b76d34e17ead19addd52b3a280e (diff)
Hibernation: Clean up Kconfig (V2)
This cleans up the hibernation Kconfig and removes the need to declare centrally which architectures support hibernation. All architectures that currently support hibernation are modified accordingly. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Paul Mackerras <paulus@samba.org> Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 9c44af3db8d9..68f0cf730d7f 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -151,9 +151,19 @@ config DEFAULT_UIMAGE
151config REDBOOT 151config REDBOOT
152 bool 152 bool
153 153
154config PPC64_SWSUSP 154config HIBERNATE_32
155 bool 155 bool
156 depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) 156 depends on (PPC_PMAC && !SMP) || BROKEN
157 default y
158
159config HIBERNATE_64
160 bool
161 depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
162 default y
163
164config ARCH_HIBERNATION_POSSIBLE
165 bool
166 depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
157 default y 167 default y
158 168
159config PPC_DCR_NATIVE 169config PPC_DCR_NATIVE