提交 2f202861 编写于 作者: A Arnd Bergmann 提交者: Robert Jarzmik

ARM: pxa: always select one of the two CPU types

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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
上级 55e70147
...@@ -547,6 +547,7 @@ config ARCH_PXA ...@@ -547,6 +547,7 @@ config ARCH_PXA
select CLKSRC_PXA select CLKSRC_PXA
select CLKSRC_MMIO select CLKSRC_MMIO
select CLKSRC_OF select CLKSRC_OF
select CPU_XSCALE if !CPU_XSC3
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select GPIO_PXA select GPIO_PXA
select HAVE_IDE select HAVE_IDE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册