[PATCH v2 18/20] arm64: atomics: implement atomic{, 64}_cmpxchg using cmpxchg

Catalin Marinas catalin.marinas at arm.com
Fri Jul 24 08:44:36 PDT 2015


On Fri, Jul 24, 2015 at 11:42:09AM +0100, Will Deacon wrote:
> 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 at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list