diff options
| author | Christophe Leroy <[email protected]> | 2021-09-21 17:09:49 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-11-30 11:45:57 +1100 |
| commit | f05cab0034babaa9b3dfaf6003ee6493496a8180 (patch) | |
| tree | d142db6cc9ff824d4f0216eb3d6c3d5a4d6b152b /tools/perf/scripts/python | |
| parent | 41d65207de9fbff58acd8937a7c3f8940c186a87 (diff) | |
powerpc/atomics: Remove atomic_inc()/atomic_dec() and friends
Now that atomic_add() and atomic_sub() handle immediate operands,
atomic_inc() and atomic_dec() have no added value compared to the
generic fallback which calls atomic_add(1) and atomic_sub(1).
Also remove atomic_inc_not_zero() which fallsback to
atomic_add_unless() which itself fallsback to
atomic_fetch_add_unless() which now handles immediate operands.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/0bc64a2f18726055093dbb2e479cefc60a409cfd.1632236981.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions