diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-12-04 08:45:12 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:43:52 -0500 |
commit | af998a9a0ae3291e86ddcae8e196a1cbf82c2457 (patch) | |
tree | 222c0b173dcb105fed931822e1f781e0edd4dc55 /arch/sh/Kconfig | |
parent | 3e51762759db9e26c6c3e4e1010d80a50c62ca03 (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/Kconfig | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 9d9baeb0784..61284165ea7 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -87,10 +87,17 @@ config GENERIC_LOCKBREAK | |||
87 | 87 | ||
88 | config SYS_SUPPORTS_PM | 88 | config SYS_SUPPORTS_PM |
89 | bool | 89 | bool |
90 | depends on !SMP | ||
91 | |||
92 | config ARCH_SUSPEND_POSSIBLE | ||
93 | def_bool n | ||
94 | |||
95 | config ARCH_HIBERNATION_POSSIBLE | ||
96 | def_bool n | ||
90 | 97 | ||
91 | config SYS_SUPPORTS_APM_EMULATION | 98 | config SYS_SUPPORTS_APM_EMULATION |
92 | bool | 99 | bool |
93 | select SYS_SUPPORTS_PM | 100 | select ARCH_SUSPEND_POSSIBLE |
94 | 101 | ||
95 | config SYS_SUPPORTS_SMP | 102 | config SYS_SUPPORTS_SMP |
96 | bool | 103 | bool |
@@ -755,11 +762,7 @@ source "fs/Kconfig.binfmt" | |||
755 | endmenu | 762 | endmenu |
756 | 763 | ||
757 | menu "Power management options (EXPERIMENTAL)" | 764 | menu "Power management options (EXPERIMENTAL)" |
758 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM | 765 | depends on EXPERIMENTAL |
759 | |||
760 | config ARCH_SUSPEND_POSSIBLE | ||
761 | def_bool y | ||
762 | depends on !SMP | ||
763 | 766 | ||
764 | source kernel/power/Kconfig | 767 | source kernel/power/Kconfig |
765 | 768 | ||