diff options
author | Will Deacon <will.deacon@arm.com> | 2013-10-09 12:01:21 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-29 07:06:06 -0400 |
commit | 2523c67bb6962f98193dce1c73b6efb65a6ea92c (patch) | |
tree | 0c23d146be95ffcb82405c6b6770ae52421ba19e /arch/arm/include/debug | |
parent | 494e492dd88d36cd201eae99873492450d1e9b4f (diff) |
ARM: 7852/1: cmpxchg: implement barrier-less cmpxchg64_local
Our cmpxchg64 macros are wrappers around atomic64_cmpxchg. Whilst this is
great for code re-use, there is a case for barrier-less cmpxchg where it
is known to be safe (for example cmpxchg64_local and cmpxchg-based
lockrefs).
This patch introduces a 64-bit cmpxchg implementation specifically
for the cmpxchg64_* macros, so that it can be later used by the lockref
code.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/debug')
0 files changed, 0 insertions, 0 deletions