提交 d76f733d 编写于 作者: A Arnd Bergmann

ARM: prima2: do not select SMP_ON_UP

The new Atlas7 platform implicitly selects 'CONFIG_SMP_ON_UP',
which leads to problems if we enable building the platform without
MMU, as that combination is not allowed and causes a link error:

arch/arm/kernel/built-in.o: In function `c_show':
:(.text+0x1872): undefined reference to `smp_on_up'
:(.text+0x1876): undefined reference to `smp_on_up'
arch/arm/kernel/built-in.o: In function `arch_irq_work_raise':
:(.text+0x3d48): undefined reference to `smp_on_up'
:(.text+0x3d4c): undefined reference to `smp_on_up'
arch/arm/kernel/built-in.o: In function `smp_setup_processor_id':
:(.init.text+0x180): undefined reference to `smp_on_up'

This removes the 'select' statement.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Fixes: 4cba0585 ("ARM: sirf: add Atlas7 machine support")
Acked-by: NBarry Song <Baohua.Song@csr.com>
Cc: Zhiwu Song <Zhiwu.Song@csr.com>
上级 a91c5824
...@@ -27,7 +27,6 @@ config ARCH_ATLAS7 ...@@ -27,7 +27,6 @@ config ARCH_ATLAS7
select CPU_V7 select CPU_V7
select HAVE_ARM_SCU if SMP select HAVE_ARM_SCU if SMP
select HAVE_SMP select HAVE_SMP
select SMP_ON_UP if SMP
help help
Support for CSR SiRFSoC ARM Cortex A7 Platform Support for CSR SiRFSoC ARM Cortex A7 Platform
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册