diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2024-04-10 08:29:36 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-10 15:04:55 +0200 |
commit | 21689e4bfb9ae8f8b45279c53faecaa5a056ffa5 (patch) | |
tree | d73b2d30b3158bfa9ddf08bcae7094ff71af8b4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 95ece48165c136b96fae0f6144f55cbf8b24aeb9 (diff) |
locking/atomic/x86: Define arch_atomic_sub() family using arch_atomic_add() functions
There is no need to implement arch_atomic_sub() family of inline
functions, corresponding macros can be directly implemented using
arch_atomic_add() inlines with negated argument.
No functional changes intended.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240410062957.322614-4-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions