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: 10887 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CF60E23E00 for ; Wed, 22 Aug 2012 15:13:47 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id CB306A18D88 for ; Wed, 22 Aug 2012 15:13:35 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so769203yhp.11 for ; Wed, 22 Aug 2012 08:13:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=uYYgq0Ho6toV8nuK3G9AaZlf1t2LNDgDjxSQddXhEww=; b=FoAU2WgiM582ZoRVZODmWmxiGOmKB1rR3GLoIEwrYIIodVE8wXqaJf00k0QRdsQ5Zh 7tx0Uz6R4ZOD/VfjOLOcz4atUjTzhcwBxf28LGCL9Vgkjnb+xTbs3sWWEo6HtqeObV1g T3Y8A2E7bfqVaksxN01N0W1kZYL5yGHvLGxdG1wwer1v0k77BirKBJzOPDJn3MeQ7ges lIL69S+2W7MemsXOLFW2GI8l42N+kd6xZT+idHChRf+F6BM2uWgM8mOpyaiM9YejsC8z ZVl9jFVRTjBXz/qyTs7cC9Bn14Z4isn8iSlVLu5ax7wxHxAxmszFBe4C206AEZ/fEcFI haFw== Received: by 10.50.45.162 with SMTP id o2mr2624440igm.0.1345648427063; Wed, 22 Aug 2012 08:13:47 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp207650igc; Wed, 22 Aug 2012 08:13:46 -0700 (PDT) Received: by 10.180.98.138 with SMTP id ei10mr6743299wib.1.1345648426086; Wed, 22 Aug 2012 08:13:46 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.171]) by mx.google.com with ESMTP id x54si6255791weo.83.2012.08.22.08.13.43; Wed, 22 Aug 2012 08:13:46 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de 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 Cc: Russell King , linux-kernel@vger.kernel.org, Arnd Bergmann , Eric Miao , Shawn Guo , stable@vger.kernel.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-Gm-Message-State: ALoCoQlizaXyZefzNzcznxKSOuWME4caU3l7PkrfphOIeasj149giAPL4Sr3O2QNtgEH+uFOcCbC 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