Will Deacon a82e62382f arm64: atomics: tidy up common atomic{,64}_* macros
The common (i.e. identical for ll/sc and lse) atomic macros in atomic.h
are needlessley different for atomic_t and atomic64_t.

This patch tidies up the definitions to make them consistent across the
two atomic types and factors out common code such as the add_unless
implementation based on cmpxchg.

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>
2015-07-27 15:28:53 +01:00
..
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00
2015-07-27 14:06:24 +02:00