summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cmpxchg.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-10-09 15:54:27 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-10-24 15:46:34 +0100
commit5686b06cea34e31ec0a549d9b5ac00776e8e8d6d (patch)
tree69f5fa9d9ccc89232bea8c1e1337a4217751ba3d /arch/arm64/include/asm/cmpxchg.h
parent52ea2a560a9dba57fe5fd6b4726b1089751accf2 (diff)
downloadop-kernel-dev-5686b06cea34e31ec0a549d9b5ac00776e8e8d6d.zip
op-kernel-dev-5686b06cea34e31ec0a549d9b5ac00776e8e8d6d.tar.gz
arm64: lockref: add support for lockless lockrefs using cmpxchg
Our spinlocks are only 32-bit (2x16-bit tickets) and our cmpxchg can deal with 8-bytes (as one would hope!). This patch wires up the cmpxchg-based lockless lockref implementation for arm64. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud