ARM: v6k: select generic atomic64 code according to V6 variants
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Jan 2011 15:48:33 +0000 (15:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:29 +0000 (21:23 +0000)
commita41297a0ffb43fda0a565bdd3ee405d16505820c
treee14def2f234317629e36ca0b8d7f916bfc4b8e5d
parent4ed67a53591db641543d57f31c182591a429dc93
ARM: v6k: select generic atomic64 code according to V6 variants

If CONFIG_CPU_V6 is enabled, avoid using the double-word exclusive
instructions in the kernel's atomic implementations as these are not
supported.  Fall back to the generic spinlock code instead.

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig