summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm2008-12-04 14:45:12 +0100
committerPaul Mundt2008-12-22 10:43:52 +0100
commitaf998a9a0ae3291e86ddcae8e196a1cbf82c2457 (patch)
tree222c0b173dcb105fed931822e1f781e0edd4dc55 /arch/sh/Kconfig
parentsh: move the hp6xx pm code (diff)
downloadkernel-qcow2-linux-af998a9a0ae3291e86ddcae8e196a1cbf82c2457.tar.gz
kernel-qcow2-linux-af998a9a0ae3291e86ddcae8e196a1cbf82c2457.tar.xz
kernel-qcow2-linux-af998a9a0ae3291e86ddcae8e196a1cbf82c2457.zip
sh: allow CONFIG_PM
Allow users to select CONFIG_PM regardless of processor type or board. Suspend and hibernation are only allowed on supported platforms. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig15
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 9d9baeb0784f..61284165ea7a 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -87,10 +87,17 @@ config GENERIC_LOCKBREAK
config SYS_SUPPORTS_PM
bool
+ depends on !SMP
+
+config ARCH_SUSPEND_POSSIBLE
+ def_bool n
+
+config ARCH_HIBERNATION_POSSIBLE
+ def_bool n
config SYS_SUPPORTS_APM_EMULATION
bool
- select SYS_SUPPORTS_PM
+ select ARCH_SUSPEND_POSSIBLE
config SYS_SUPPORTS_SMP
bool
@@ -755,11 +762,7 @@ source "fs/Kconfig.binfmt"
endmenu
menu "Power management options (EXPERIMENTAL)"
-depends on EXPERIMENTAL && SYS_SUPPORTS_PM
-
-config ARCH_SUSPEND_POSSIBLE
- def_bool y
- depends on !SMP
+depends on EXPERIMENTAL
source kernel/power/Kconfig