]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cmpxchg: implement cmpxchg64_relaxed
authorWill Deacon <will.deacon@arm.com>
Wed, 9 Oct 2013 14:54:28 +0000 (15:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 24 Oct 2013 14:46:35 +0000 (15:46 +0100)
commit5e9cc3e8ae84498cba6a639b48135de7cbc9af69
treefffcc72aa8e542ee331622c6f914ec5c6db11e45
parentc08362f9c84a7a81079f3b3073e9c16da811413a
arm64: cmpxchg: implement cmpxchg64_relaxed

This patch introduces cmpxchg64_relaxed for arm64 using the existing
cmpxchg_local macro, which performs a cmpxchg operation (up to 64 bits)
without barrier semantics.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cmpxchg.h