aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-04 08:45:12 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 04:43:52 -0500
commitaf998a9a0ae3291e86ddcae8e196a1cbf82c2457 (patch)
tree222c0b173dcb105fed931822e1f781e0edd4dc55 /arch/sh/Kconfig
parent3e51762759db9e26c6c3e4e1010d80a50c62ca03 (diff)
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
87 87
88config SYS_SUPPORTS_PM 88config SYS_SUPPORTS_PM
89 bool 89 bool
90 depends on !SMP
91
92config ARCH_SUSPEND_POSSIBLE
93 def_bool n
94
95config ARCH_HIBERNATION_POSSIBLE
96 def_bool n
90 97
91config SYS_SUPPORTS_APM_EMULATION 98config SYS_SUPPORTS_APM_EMULATION
92 bool 99 bool
93 select SYS_SUPPORTS_PM 100 select ARCH_SUSPEND_POSSIBLE
94 101
95config SYS_SUPPORTS_SMP 102config SYS_SUPPORTS_SMP
96 bool 103 bool
@@ -755,11 +762,7 @@ source "fs/Kconfig.binfmt"
755endmenu 762endmenu
756 763
757menu "Power management options (EXPERIMENTAL)" 764menu "Power management options (EXPERIMENTAL)"
758depends on EXPERIMENTAL && SYS_SUPPORTS_PM 765depends on EXPERIMENTAL
759
760config ARCH_SUSPEND_POSSIBLE
761 def_bool y
762 depends on !SMP
763 766
764source kernel/power/Kconfig 767source kernel/power/Kconfig
765 768