ARM: v6k: select clear exclusive code seqences 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>
Wed, 19 Jan 2011 22:03:50 +0000 (14:03 -0800)
If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs
which don't have the V6K extensions implemented.  Always use the
dummy store-exclusive method to ensure that the exclusive monitors are
cleared.

If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, then we
have the K extensions available on all CPUs we're building support for,
so we can use the new clear-exclusive instruction.

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

No differences found