diff options
author | 2015-06-04 16:41:36 +0100 | |
---|---|---|
committer | 2015-07-27 15:28:53 +0100 | |
commit | a82e62382fcbbf5c3348e802af73583e0cac39c0 (patch) | |
tree | 01e8ff2e9c9ab4b937ef15de980a31cdcee2db27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: cmpxchg: avoid memory barrier on comparison failure (diff) | |
download | linux-dev-a82e62382fcbbf5c3348e802af73583e0cac39c0.tar.xz linux-dev-a82e62382fcbbf5c3348e802af73583e0cac39c0.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions