From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH] ARM: qcom: select ARM_CPU_SUSPEND for power management Date: Tue, 24 Nov 2015 17:10:14 -0800 Message-ID: <20151125011014.GA8328@codeaurora.org> References: <5497046.7sx8fEMiNf@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:40603 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755553AbbKYBKQ (ORCPT ); Tue, 24 Nov 2015 20:10:16 -0500 Content-Disposition: inline In-Reply-To: <5497046.7sx8fEMiNf@wuerfel> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Arnd Bergmann Cc: Kumar Gala , Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lina Iyer On 11/24, Arnd Bergmann wrote: > The qcom spm driver uses cpu_resume_arm(), which is not included > in the kernel in all configurations: > > drivers/built-in.o: In function `qcom_cpu_spc': > :(.text+0xbc022): undefined reference to `cpu_suspend' > drivers/built-in.o: In function `qcom_cpuidle_init': > :(.init.text+0x610c): undefined reference to `cpu_resume_arm' > > This adds a 'select' Kconfig statement to ensure it's always > enabled. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project