diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-19 15:03:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-03 15:07:08 -0800 |
commit | 9453c72919e57ee0227c2d1c18538d85cc62346d (patch) | |
tree | a29844c490767a437d8a347aa5b26f52fc29d772 /lib | |
parent | ab3b00b70e5552d6060118952312f9c201218dc4 (diff) | |
download | lwn-9453c72919e57ee0227c2d1c18538d85cc62346d.tar.gz lwn-9453c72919e57ee0227c2d1c18538d85cc62346d.zip |
ARM: 8457/1: psci-smp is built only for SMP
commit be95485a0b8288a93402705730d3ea32f9f812b9 upstream.
The PSCI SMP implementation is built only when both CONFIG_SMP and
CONFIG_ARM_PSCI are set, so a configuration that has the latter
but not the former can get a link error when it tries to call
psci_smp_available().
arch/arm/mach-tegra/built-in.o: In function `tegra114_cpuidle_init':
cpuidle-tegra114.c:(.init.text+0x52a): undefined reference to `psci_smp_available'
This corrects the #ifdef in the psci.h header file to match the
Makefile conditional we have for building that function.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions