提交 e118a1df 编写于 作者: C Catalin Marinas 提交者: Tony Lindgren

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: NAnand Gadiyar <gadiyar@ti.com>
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
Cc: Leif Lindholm <Leif.Lindholm@arm.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 01539ba2
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册