diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2024-04-17 19:58:12 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-24 11:45:13 +0200 |
commit | 33eb8ab4ec83cf0975d0113966c7e71cd6be60b2 (patch) | |
tree | f9e7e3b47c7dc87d8447abf578597d78fab228ac /tools/perf/scripts/python | |
parent | d26e46f6bf329cfcc469878709baa41d3bfc7cc3 (diff) |
locking/atomic/x86: Merge __arch{,_try}_cmpxchg64_emu_local() with __arch{,_try}_cmpxchg64_emu()
Macros __arch{,_try}_cmpxchg64_emu() are almost identical to their
local variants __arch{,_try}_cmpxchg64_emu_local(), differing only
by lock prefixes.
Merge these two macros by introducing additional macro parameters
to pass lock location and lock prefix from their respective static
inline functions.
No functional change intended.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20240417175830.161561-1-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions