summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBradley Morgan <brads@mainlining.org>2026-10-05 12:07:00 +0000
committerPaul E. McKenney <paulmck@kernel.org>2026-10-12 16:36:53 -0700
commit558ccc91ddf98d58ae726ed7ccaf5838f284084f (patch)
tree21b27d5f5edb4d15e76b94b0ff227ddd0c36be08 /tools/perf/scripts/python/bin/stackcollapse-report
parent2213947c08fa9c44595aa0e84e359985ed40d3b6 (diff)
downloadlinux-558ccc91ddf98d58ae726ed7ccaf5838f284084f.tar.gz
linux-558ccc91ddf98d58ae726ed7ccaf5838f284084f.zip
xtensa: Emulate two-byte cmpxchg
Xtensa has no two-byte atomic compare and swap, so the __cmpxchg() switch lets case 2 fall through to __cmpxchg_called_with_bad_pointer(), which is declared but never defined, so a two-byte cmpxchg() fails at link time. Route case 2 through the new cmpxchg_emu_u16(), which takes the old and new values as unsigned long and narrows them itself, so the call needs no extra casts. Signed-off-by: Bradley Morgan <brads@mainlining.org> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions