From: Russell King Date: Sat, 2 Apr 2011 09:15:28 +0000 (+0100) Subject: ARM: Only allow PM_SLEEP with CPUs which support suspend X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a7861825f79f09213ef81b3c468f6f2e86f408e;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: Only allow PM_SLEEP with CPUs which support suspend Offering CONFIG_PM_SLEEP for CPUs which do not support suspend leads to build errors, so only set CONFIG_ARCH_SUSPEND_POSSIBLE if we have a CPU selected which supports suspend. Signed-off-by: Russell King --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5b9f78b570e8..9954c9bef679 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -2012,6 +2012,8 @@ source "kernel/power/Kconfig" config ARCH_SUSPEND_POSSIBLE depends on !ARCH_S5P64X0 && !ARCH_S5P6442 + depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \ + CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE def_bool y endmenu