From: Will Deacon Date: Wed, 9 Oct 2013 16:01:21 +0000 (+0100) Subject: ARM: 7852/1: cmpxchg: implement barrier-less cmpxchg64_local X-Git-Tag: v3.13-rc1~103^2~2^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2523c67bb6962f98193dce1c73b6efb65a6ea92c;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed