linux/arch/arm/include
Arnd Bergmann dbcfee7242 ARM: 8457/1: psci-smp is built only for SMP
[ Upstream commit be95485a0b ]

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: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-12 17:06:25 -04:00
..
asm ARM: 8457/1: psci-smp is built only for SMP 2016-04-12 17:06:25 -04:00
debug Merge tag 'bcm63138-v4' of http://github.com/brcm/linux into next/soc 2014-09-25 23:50:02 +02:00
uapi/asm KVM: arm/arm64: check IRQ number on userland injection 2015-05-17 19:11:50 -04:00