]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: realview: build realview-dt SMP support only when used
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Dec 2015 16:01:58 +0000 (17:01 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 18 Dec 2015 16:03:59 +0000 (17:03 +0100)
commit361d66521de2d15f08b6239b7f0fd8ea166c277a
treef12359be218bf9d6a84a5078ac71d5e515064b0d
parent36ff39b84a0b5d901f7cdca8f6d44ef5fe6e97b7
ARM: realview: build realview-dt SMP support only when used

The platsmp-dt.c file does not build when CONFIG_SMP is disabled:

platsmp-dt.c:84:2: error: unknown field 'smp_prepare_cpus' specified in initializer

This changes the Makefile to build it conditionally on CONFIG_SMP.
The legacy platsmp.c file is only used for ATAGS based builds, so
we can move it into the CONFIG_ATAGS conditional.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-realview/Makefile