diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-02 15:27:16 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-02-18 12:20:29 +0100 |
commit | 165235180ff61f0012ea68a299e46daec43dcaa7 (patch) | |
tree | 0aa19e3aff40b07bb301b1884748ec0a73b135da /fs | |
parent | 1fd01aa2171d6daebc4efc045205834daf60b6c2 (diff) | |
download | linux-165235180ff61f0012ea68a299e46daec43dcaa7.tar.gz linux-165235180ff61f0012ea68a299e46daec43dcaa7.tar.bz2 linux-165235180ff61f0012ea68a299e46daec43dcaa7.zip |
ARM: mvebu: build armada375-smp code conditionally
mvebu_armada375_smp_wa_init is only used on armada 375 but is defined
for all mvebu machines. As it calls a function that is only provided
sometimes, this can result in a link error:
arch/arm/mach-mvebu/built-in.o: In function `mvebu_armada375_smp_wa_init':
:(.text+0x228): undefined reference to `mvebu_setup_boot_addr_wa'
To solve this, we can just change the existing #ifdef around the
function to also check for Armada375 SMP platforms.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 305969fb6292 ("ARM: mvebu: use the common function for Armada 375 SMP workaround")
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions