commit | 6059a7b6e818023436a9058170a4fea1c670dc98 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Thu Jun 04 17:46:37 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jul 27 15:28:53 2015 +0100 |
tree | 7449e24549e4ddee931518e6781f630a63b50933 | |
parent | 0ea366f5e1b6413a6095dce60ea49ae51e468b61 [diff] |
arm64: atomics: implement atomic{,64}_cmpxchg using cmpxchg We don't need duplicate cmpxchg implementations, so use cmpxchg to implement atomic{,64}_cmpxchg, like we do for xchg already. Reviewed-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>