diff options
author | Alexandre Courbot | 2014-05-23 02:23:32 +0200 |
---|---|---|
committer | Arnd Bergmann | 2014-05-23 21:28:11 +0200 |
commit | 3aae97c8b1dbefb23217d193e2818d1490651c95 (patch) | |
tree | d014927ff91e4d64652b5ab1a5a2540888121b62 /arch/arm/boot/dts/exynos4412-trats2.dts | |
parent | Merge tag 'at91-fixes2' of git://github.com/at91linux/linux-at91 into fixes (diff) | |
download | kernel-qcow2-linux-3aae97c8b1dbefb23217d193e2818d1490651c95.tar.gz kernel-qcow2-linux-3aae97c8b1dbefb23217d193e2818d1490651c95.tar.xz kernel-qcow2-linux-3aae97c8b1dbefb23217d193e2818d1490651c95.zip |
ARM: trusted_foundations: fix compile error on non-SMP
The setup_max_cpus variable is only defined if CONFIG_SMP is set. Add
a preprocessor condition to avoid the following compilation error if
CONFIG_SMP is not set:
arch/arm/include/asm/trusted_foundations.h: In function 'register_trusted_foundations':
arch/arm/include/asm/trusted_foundations.h:57:2: error: 'setup_max_cpus' undeclared (first use in this function)
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
0 files changed, 0 insertions, 0 deletions