diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-12-07 20:12:39 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 18:30:55 -0500 |
commit | 801e4062fda6496fe9bee3e6915a2aa108f974e5 (patch) | |
tree | 092e988b58a3dae9135aac742c8318a5963f095f /arch/powerpc/Kconfig | |
parent | 23976728a48c3b76d34e17ead19addd52b3a280e (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/Kconfig | 14 |
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 | |||
151 | config REDBOOT | 151 | config REDBOOT |
152 | bool | 152 | bool |
153 | 153 | ||
154 | config PPC64_SWSUSP | 154 | config 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 | |||
159 | config HIBERNATE_64 | ||
160 | bool | ||
161 | depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL) | ||
162 | default y | ||
163 | |||
164 | config ARCH_HIBERNATION_POSSIBLE | ||
165 | bool | ||
166 | depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) | ||
157 | default y | 167 | default y |
158 | 168 | ||
159 | config PPC_DCR_NATIVE | 169 | config PPC_DCR_NATIVE |