From e118a1df32c41186f717bbe6b42142741530e8b9 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Thu, 6 Jan 2011 19:57:53 -0800 Subject: ARM: Do not enable SWP emulation if CPU_V6 && CPU_V7 This option uses LDREXB/STREXB to emulate SWPB but these instructions are not supported on all the ARMv6 processors. Reported-by: Anand Gadiyar Signed-off-by: Catalin Marinas Cc: Leif Lindholm Signed-off-by: Tony Lindgren --- arch/arm/mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mm/Kconfig') diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 49db8b3e4a49..0fe2389febf3 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -644,7 +644,7 @@ config ARM_THUMBEE config SWP_EMULATE bool "Emulate SWP/SWPB instructions" - depends on CPU_V7 + depends on CPU_V7 && !CPU_V6 select HAVE_PROC_CPU if PROC_FS default y if SMP help -- cgit v1.2.3-59-g8ed1b