Skip to content

Commit

Permalink
sh: allow CONFIG_PM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 22, 2008
1 parent 3e51762 commit af998a9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit af998a9

Please sign in to comment.