ARM: Do not enable SWP emulation if CPU_V6 && CPU_V7
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Jan 2011 03:57:53 +0000 (19:57 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 7 Jan 2011 03:57:53 +0000 (19:57 -0800)
commite118a1df32c41186f717bbe6b42142741530e8b9
tree0fab9974fe5102ed872a1b40016e7394e47a490a
parent01539ba2a706ab7d35fc0667dff919ade7f87d63
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 <gadiyar@ti.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Leif Lindholm <Leif.Lindholm@arm.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mm/Kconfig