diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-02-15 01:30:40 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-15 18:21:12 -0500 |
commit | af7e61cc86a6d052a7eddcd777a8a87906ab5a35 (patch) | |
tree | 9bcead580c366929178d88c70f55ab684ed8a386 /arch/powerpc | |
parent | 101142c37be8e5af9b847860219217e6b958c739 (diff) |
hibernate: handle DEBUG_PAGEALLOC
Since currently hibernation doesn't work with DEBUG_PAGEALLOC, make
it handle DEBUG_PAGEALLOC on x86 and on powerpc disable it if
CONFIG_DEBUG_PAGEALLOC is set.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5b8d8382b762..dfe68dd5f902 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -168,6 +168,8 @@ config HIBERNATE_64 config ARCH_HIBERNATION_POSSIBLE bool depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) +# This is needed as long as kernel_page_present() is not implemented + depends on !DEBUG_PAGEALLOC default y config ARCH_SUSPEND_POSSIBLE |