diff options
| author | Bradley Morgan <brads@mainlining.org> | 2026-10-05 12:06:59 +0000 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-10-12 16:36:42 -0700 |
| commit | 2213947c08fa9c44595aa0e84e359985ed40d3b6 (patch) | |
| tree | 73a00a8ff71785a9732fca623cf1ed8fee6e2016 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c1703c8772630f09e46b20eb6f3c8cc040c1a6eb (diff) | |
| download | linux-2213947c08fa9c44595aa0e84e359985ed40d3b6.tar.gz linux-2213947c08fa9c44595aa0e84e359985ed40d3b6.zip | |
csky: Emulate two-byte cmpxchg
C-SKY has no two-byte atomic compare and swap, so the __cmpxchg()
macros let case 2 fall through to BUILD_BUG() via default, and a
two-byte cmpxchg() fails the build.
Route case 2 through the new cmpxchg_emu_u16(), which narrows the
old and new values itself, so all three orderings, relaxed, acquire
and full, keep the (uintptr_t) casts the case 1 path already uses.
Signed-off-by: Bradley Morgan <brads@mainlining.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: GUO Ren <guoren@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
