]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabf4b6ce493ad9fd4f64401e6032b06764d765ec
tree9ebd397e6b253d144460f061b95ded60a7b0da0b
parentf2891da177e6c577bcccab0b4b67dc1659c86945
PM: Fix dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION

Dependencies of CONFIG_SUSPEND and CONFIG_HIBERNATION introduced by commit
508e3419fec196f02fe94f5a2b0be57bf5054268 "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