From patchwork Wed Aug 22 15:13:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1362091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id D07553FD40 for ; Wed, 22 Aug 2012 15:17:11 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T4Cd7-0008Fg-Lt; Wed, 22 Aug 2012 15:14:02 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T4Cci-0008D1-Ba for linux-arm-kernel@lists.infradead.org; Wed, 22 Aug 2012 15:13:37 +0000 Received: from localhost.localdomain (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M9XvL-1SxILA1TFX-00Cyud; Wed, 22 Aug 2012 17:13:35 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] ARM: imx: select ARM_CPU_SUSPEND when necessary Date: Wed, 22 Aug 2012 17:13:10 +0200 Message-Id: <1345648390-4234-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1345648390-4234-1-git-send-email-arnd@arndb.de> References: <1345648390-4234-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:OD1Me6i0W/zZ4Y+z8kxaSc57hzfBVZnnNRQRl3795Nm 1YrYqFPukLnSOo7ESkJnf6Ehy4TsNVSgd9cgewUk/osRMHoiwq Ty3zudlbovXIJjuo5XraqDRD3dWeg76WLEMU3tHsn7kye4yngv gmiZ214gYl9qYY/6OmL0xQjyrCFXm5yK7vBtEsCBY3kUn1T/3u terMvVWR+pbRuuQm0WDSzSrlm74QrB/AXtLB7WL7lasjUlX7EQ C4a5ht1OkeRKKf9kceti/m4fdyX2ehL2OMG191ds8Sw8Sfeaor Us3UKTDxfUSwIocyGirr293nvMEYMTJX+cOm8zDjPyyhvvHW0N GFLm6tu3fIzJlrxANNzPI8xDWzSF/pj4+8PLpySbVcx+/ixG/p GCw4nhc7pvLCA== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.171 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Eric Miao , Russell King , Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On i.MX6, we select ARM_CPU_SUSPEND when building with power management support, but for some reason this was omitted on i.MX5. Normally we build kernels for both together so the error only showed up in randconfig tests. Without this patch, building imx5 standalone results in: arch/arm/mach-imx/built-in.o: In function `v7_cpu_resume': arch/arm/mach-imx/head-v7.S:104: undefined reference to `cpu_resume' Signed-off-by: Arnd Bergmann Cc: Eric Miao Cc: Shawn Guo Cc: stable@vger.kernel.org --- arch/arm/mach-imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index afd542a..8e96573 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -89,6 +89,7 @@ config SOC_IMX5 select ARCH_MXC_IOMUX_V3 select ARCH_HAS_CPUFREQ select ARCH_MX5 + select ARM_CPU_SUSPEND if PM bool config SOC_IMX50