Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321769 > unrolled thread

[PATCH 5/9] ARM: pxa: always select one of the two CPU types

Started byArnd Bergmann <arnd@arndb.de>
First post2016-01-29 15:10 +0100
Last post2016-01-29 15:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 5/9] ARM: pxa: always select one of the two CPU types Arnd Bergmann <arnd@arndb.de> - 2016-01-29 15:10 +0100

#1321769 — [PATCH 5/9] ARM: pxa: always select one of the two CPU types

FromArnd Bergmann <arnd@arndb.de>
Date2016-01-29 15:10 +0100
Subject[PATCH 5/9] ARM: pxa: always select one of the two CPU types
Message-ID<qWhUo-4fz-47@gated-at.bofh.it>
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 <arnd@arndb.de>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.7.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web