Commit af998a9a authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

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: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3e517627
...@@ -87,10 +87,17 @@ config GENERIC_LOCKBREAK ...@@ -87,10 +87,17 @@ config GENERIC_LOCKBREAK
config SYS_SUPPORTS_PM config SYS_SUPPORTS_PM
bool bool
depends on !SMP
config ARCH_SUSPEND_POSSIBLE
def_bool n
config ARCH_HIBERNATION_POSSIBLE
def_bool n
config SYS_SUPPORTS_APM_EMULATION config SYS_SUPPORTS_APM_EMULATION
bool bool
select SYS_SUPPORTS_PM select ARCH_SUSPEND_POSSIBLE
config SYS_SUPPORTS_SMP config SYS_SUPPORTS_SMP
bool bool
...@@ -755,11 +762,7 @@ source "fs/Kconfig.binfmt" ...@@ -755,11 +762,7 @@ source "fs/Kconfig.binfmt"
endmenu endmenu
menu "Power management options (EXPERIMENTAL)" menu "Power management options (EXPERIMENTAL)"
depends on EXPERIMENTAL && SYS_SUPPORTS_PM depends on EXPERIMENTAL
config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP
source kernel/power/Kconfig source kernel/power/Kconfig
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment