[PATCH 2/2] ARM: imx: select ARM_CPU_SUSPEND for CPU_IDLE as well

Shawn Guo shawnguo at kernel.org
Thu Mar 15 17:49:34 PDT 2018


On Thu, Mar 15, 2018 at 04:13:19PM +0100, Arnd Bergmann wrote:
> The cpuidle support calls cpu_suspend(), which is compiled conditionally,
> and fails to link unless something selects CONFIG_ARM_CPU_SUSPEND.
> 
> arch/arm/mach-imx/cpuidle-imx6sx.o: In function `imx6sx_enter_wait':
> cpuidle-imx6sx.c:(.text+0x6c): undefined reference to `cpu_suspend'
> 
> This adds an explicit select statement here.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Acked-by: Shawn Guo <shawnguo at kernel.org>



More information about the linux-arm-kernel mailing list