ARM: v6k: select generic atomic64 code according to V6 variants
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Mar 2011 23:48:05 +0000 (16:48 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Mar 2011 23:48:05 +0000 (16:48 -0700)
commit1c2022b6a17c14c3a28505524aabbd1fd6e54489
treed9162873ad71ea6ba3d56b019da4c21f03b6ec92
parente8f928dc85a6b71d0d08c3d1d962d65cc3066743
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