]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: SPEAr: conditionalize SMP code
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 Apr 2013 12:53:19 +0000 (14:53 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 2 May 2013 20:47:21 +0000 (22:47 +0200)
commita94d236dc355f374857ee4e6e78b7dec8a0f29e3
treeb3f6686bdb5d96fd3570b3f5bdfeee05d8edb173
parentb45e0ed41adee52c49c222e752495d69d7e57981
ARM: SPEAr: conditionalize SMP code

Some constant definitions are only defined for spear13xx, so
we must not attempt to build SPEAr SMP support when that
SoC is not enabled.

arch/arm/mach-spear/platsmp.c:25:35:
 error: 'VA_SCU_BASE' undeclared here (not in a function)
 arch/arm/mach-spear/platsmp.c: In function 'spear13xx_smp_prepare_cpus':
 arch/arm/mach-spear/platsmp.c:111:58: error: 'SYS_LOCATION' undeclared (first use in this function)

Cc: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-spear/Makefile