[PATCH] ARM: keystone: select ARM_ERRATA_798181 only for SMP

Arnd Bergmann arnd at arndb.de
Fri Jun 21 19:04:31 EDT 2013


Selecting this symbol causes a build warning without SMP:

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

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>

diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
index 2dbd4ce..51a50e9 100644
--- a/arch/arm/mach-keystone/Kconfig
+++ b/arch/arm/mach-keystone/Kconfig
@@ -9,7 +9,7 @@ config ARCH_KEYSTONE
 	select GENERIC_CLOCKEVENTS
 	select HAVE_SCHED_CLOCK
 	select ARCH_WANT_OPTIONAL_GPIOLIB
-	select ARM_ERRATA_798181
+	select ARM_ERRATA_798181 if SMP
 	help
 	  Support for boards based on the Texas Instruments Keystone family of
 	  SoCs.



More information about the linux-arm-kernel mailing list