From patchwork Fri Jan 29 14:06:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101031 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1139519lbb; Fri, 29 Jan 2016 06:08:27 -0800 (PST) X-Received: by 10.98.11.134 with SMTP id 6mr2157986pfl.109.1454076507681; Fri, 29 Jan 2016 06:08:27 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hg4si2447245pac.180.2016.01.29.06.08.27; Fri, 29 Jan 2016 06:08:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932233AbcA2OIY (ORCPT + 30 others); Fri, 29 Jan 2016 09:08:24 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:59340 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756377AbcA2OIT (ORCPT ); Fri, 29 Jan 2016 09:08:19 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0MINbz-1aNF6Y46Gt-0049fw; Fri, 29 Jan 2016 15:07:50 +0100 From: Arnd Bergmann To: Robert Jarzmik Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Haojian Zhuang , Daniel Mack , linux-kernel@vger.kernel.org Subject: [PATCH 5/9] ARM: pxa: always select one of the two CPU types Date: Fri, 29 Jan 2016 15:06:29 +0100 Message-Id: <1454076396-3563101-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454076396-3563101-1-git-send-email-arnd@arndb.de> References: <1454076396-3563101-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:pahzufB/PnYCgFVCJcJPOh+PfYLAVeTA8nDh/svA/RshXD1YVri ADiLYAi6SeMmqn5f+VZ2CB6Q2aYqKwFDip4+Rbt98OJoq4W2wHhP5rOw2y6V2Akosi5aIdo UBMa6taneS+xBKS3q4AbAE9fHo/L7E3W1eSQPuZJFayo67x7cgosd7xgzMXIyuGGpzt+SGy j8h+EYnB6WMUUvQiBGToA== X-UI-Out-Filterresults: notjunk:1; V01:K0:ssvcRrTZCaM=:xWFX5JvqeMJCWGDFFXMs85 qu7kiQLwsX/96NDMZXi4sQMRLU7fr6O1QvPLU4z+bzT8mtR3fMDqqkpVIdoI56fv6bfTQZvRy /mBDXKXyHnQCpdfD5m5iUqLM3Bp8RVZsDidszcMytGZe/h0UpGkxMZbNvaUv6iu43eAiro+Gu FK75+v6tGkAYv7FGQeZFPHM4eof0i/G30eg5ozMXkf9gCQeWjhMmjHLwJ9iQr46YXHnbB2WJx Zs3DDYSo7XBtk0C2B0ZixFX6UQPyua0/RG9qareCOATUCeT/gq2KvwHxR+hmc9ZnYK12oojWv VAg4KibZPHEhKyDyn3KC791GC5VDMAiJd6FNLavnaCLuCl3v/CyO3enW6clJ7vwEJ4eghQ3/z NgX6ZlIxlVvN2kbdNQAG9+5gg94cfYRSITq52CpbEUPZHfmP8cUJ1jcQuOrAAS21HN848coFf lYlg2WTo81oMk+uV0T4qKY2pNDgXp+7dU26/wXyVEsp+hCLRL3oopEs1T+UCjLUv3D3i9481k Hw9YrS3SzcLFdu7I8rbB711AhvPuuubjGUCg7PsWLkQvE5TFYeBLAtH4DXXxd6EvjrF2+Fdxj LU3JxwJoFUjl9hl+AIEN9UIFSMy7zo01pt11G1027Cug2QRsCdbL+ilLJgdt1mG/DsBrcrCQ8 mV75S5B3R404l1HwjzmYkub2dU0LZ3AWtsJUmrOIeMRmIjU4JUah2UNOqaWcC937Tek4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When all boards are disabled on PXA, we cannot build a kernel because no CPU gets selected: arch/arm/include/uapi/asm/swab.h:26:29: error: "__LINUX_ARM_ARCH__" is not defined [-Werror=undef] This is a bit annoying for compile-testing, so I'm adding a line that ensures that at all times, at least one of CPU_XSCALE or CPU_XSC3 is set and we can at least continue building. Signed-off-by: Arnd Bergmann --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7e1aac8bdf84..1d2b5e6cab14 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -564,6 +564,7 @@ config ARCH_PXA select CLKSRC_PXA select CLKSRC_MMIO select CLKSRC_OF + select CPU_XSCALE if !CPU_XSC3 select GENERIC_CLOCKEVENTS select GPIO_PXA select HAVE_IDE