Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e118a1df authored by Catalin Marinas's avatar Catalin Marinas Committed by Tony Lindgren
Browse files

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: default avatarAnand Gadiyar <gadiyar@ti.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Cc: Leif Lindholm <Leif.Lindholm@arm.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 01539ba2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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