arm64: Define cmpxchg64 and cmpxchg64_local for outside use
authorChen Gang <gang.chen@asianux.com>
Mon, 22 Apr 2013 05:08:41 +0000 (06:08 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 23 Apr 2013 10:47:26 +0000 (11:47 +0100)
commita84b086b874e0c03ca456c1748df7031a8cdf957
tree28adcec35f32608bd4857c9382eda9351b80132e
parent12f883989cf91afa8509c547feebbc3acbc04497
arm64: Define cmpxchg64 and cmpxchg64_local for outside use

Drivers use cmpxchg64, cmpxchg64_local to perform 64-bit operation, so
they can cross 32-bit and 64-bit platforms (it is a standard way).

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cmpxchg.h