ARM: 7853/1: cmpxchg: implement cmpxchg64_relaxed
authorWill Deacon <will.deacon@arm.com>
Wed, 9 Oct 2013 16:17:18 +0000 (17:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Oct 2013 11:06:09 +0000 (11:06 +0000)
commit775ebcc16b940ebf61bf54d6054a5e639f68b9d6
tree82d626994ad89ae7d23475721e3f11df798114bc
parent2523c67bb6962f98193dce1c73b6efb65a6ea92c
ARM: 7853/1: cmpxchg: implement cmpxchg64_relaxed

This patch introduces cmpxchg64_relaxed for arm, which performs a 64-bit
cmpxchg operation without barrier semantics. cmpxchg64_local is updated
to use the new operation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cmpxchg.h