Searched hist:"2523 c67bb6962f98193dce1c73b6efb65a6ea92c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | diff 2523c67bb6962f98193dce1c73b6efb65a6ea92c Wed Oct 09 11:01:21 CDT 2013 Will Deacon <will.deacon@arm.com> 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>
|