summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBradley Morgan <brads@mainlining.org>2026-10-05 12:06:58 +0000
committerPaul E. McKenney <paulmck@kernel.org>2026-10-12 16:36:22 -0700
commitc1703c8772630f09e46b20eb6f3c8cc040c1a6eb (patch)
treec522bd522d3da404429f80ff85fd2e63f85e9951 /tools/perf/scripts/python/bin/stackcollapse-report
parent887685c52e44c3a80dfc55f8545f5598badb98c9 (diff)
downloadlinux-c1703c8772630f09e46b20eb6f3c8cc040c1a6eb.tar.gz
linux-c1703c8772630f09e46b20eb6f3c8cc040c1a6eb.zip
ARC: Emulate two-byte cmpxchg
ARC has no two-byte atomic compare and swap, so the arch_cmpxchg_relaxed() macro switch lets 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 the dispatch keeps the (uintptr_t) casts the case 1 path already uses. The sizeof(*(_p_)) fix that v4 folded in here landed separately through Vineet's f050c3e61d2a, so this patch is now only the case 2 wiring. Signed-off-by: Bradley Morgan <brads@mainlining.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions