]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: fix build errors caused by selection of errata 798181
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Oct 2013 08:33:49 +0000 (09:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Oct 2013 08:33:49 +0000 (09:33 +0100)
commit59fd3033b55642da97b4ecde0c85de78d7229675
tree7fa600d2f172b739e5452691bb379863dbd344d9
parent3c1532df5c1b54b5f6246cdef94eeb73a39fe43a
ARM: fix build errors caused by selection of errata 798181

Several configurations are selecting errata 798181 without SMP
being selected.  This causes a warning from Kconfig:

warning: (ARCH_HIGHBANK && ARCH_KEYSTONE && SOC_OMAP5 && ARCH_TEGRA_114_SOC) selects ARM_ERRATA_798181 which has unmet direct dependencies (CPU_V7 && SMP)

The dependencies are compile time dependencies; select violates these,
resulting in:

arch/arm/kernel/built-in.o: In function `setup_processor':
psci.c:(.init.text+0x808): undefined reference to `erratum_a15_798181_init'

at build time.  Fix this by fixing the select statements for Tegra and
Highbank.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-highbank/Kconfig
arch/arm/mach-tegra/Kconfig