ARM: v6k: select cmpxchg code sequences according to V6 variants
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Wed, 19 Jan 2011 22:03:50 +0000 (14:03 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Jan 2011 01:36:06 +0000 (17:36 -0800)
If CONFIG_CPU_V6 is enabled, we must avoid the byte/halfword/doubleword
exclusive operations, which aren't implemented before V6K.  Use the
generic versions (or omit them) instead.

If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, we have
the K extnesions, so use these new instructions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found