ARM: prima2: do not select SMP_ON_UP
authorArnd Bergmann <arnd@arndb.de>
Sun, 25 Jan 2015 14:01:34 +0000 (15:01 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 18 Feb 2015 11:20:27 +0000 (12:20 +0100)
commitd76f733ddad6ebc5166675a77824673588797202
tree9472bd1958a9a6c9749ea50b75ebd9f1b89c4746
parenta91c5824dd79e5bb9606a48c45b7704a58177967
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 4cba058526a7 ("ARM: sirf: add Atlas7 machine support")
Acked-by: Barry Song <Baohua.Song@csr.com>
Cc: Zhiwu Song <Zhiwu.Song@csr.com>
arch/arm/mach-prima2/Kconfig