summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann2011-10-01 21:09:39 +0200
committerArnd Bergmann2011-10-01 21:09:39 +0200
commit15e0d9e37c7fe9711b60f47221c394d45553ad8c (patch)
treefd46b3ef48612d8c39a80627ee5c8fa9c422e15e /arch/arm/Kconfig
parentARM: vfp: use -mfloat-abi=soft to build vfp (diff)
downloadkernel-qcow2-linux-15e0d9e37c7fe9711b60f47221c394d45553ad8c.tar.gz
kernel-qcow2-linux-15e0d9e37c7fe9711b60f47221c394d45553ad8c.tar.xz
kernel-qcow2-linux-15e0d9e37c7fe9711b60f47221c394d45553ad8c.zip
ARM: pm: let platforms select cpu_suspend support
Support for the cpu_suspend functions is only built-in when CONFIG_PM_SLEEP is enabled, but omap3/4, exynos4 and pxa always call cpu_suspend when CONFIG_PM is enabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 497af51e9176..3445f50b0b7d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -631,6 +631,7 @@ config ARCH_PXA
select SPARSE_IRQ
select AUTO_ZRELADDR
select MULTI_IRQ_HANDLER
+ select ARM_CPU_SUSPEND if PM
help
Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
@@ -2077,6 +2078,9 @@ config ARCH_SUSPEND_POSSIBLE
CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
def_bool y
+config ARM_CPU_SUSPEND
+ def_bool PM_SLEEP
+
endmenu
source "net/Kconfig"