PM: Fix dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 31 Aug 2007 06:56:29 +0000 (23:56 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 31 Aug 2007 08:42:22 +0000 (01:42 -0700)
commitf3de4be9d5f8551d7880a1f1f5231a30e0161b1f
tree9ebd397e6b253d144460f061b95ded60a7b0da0b
parentb07e35f94a7b6a059f889b904529ee907dc0634d
PM: Fix dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION

Dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION introduced by commit
296699de6bdc717189a331ab6bbe90e05c94db06 "Introduce CONFIG_SUSPEND for
suspend-to-Ram and standby" are incorrect, as they don't cover the facts that
(1) not all architectures support suspend and (2) SMP hibernation is only
possible on X86 and PPC64 (if CONFIG_PPC64_SWSUSP is set).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/defconfig
include/linux/cpu.h
kernel/cpu.c
kernel/power/Kconfig