diff options
| author | Paul Walmsley <pjw@kernel.org> | 2025-11-17 21:19:28 -0700 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-12-19 00:18:33 -0700 |
| commit | e0e51a0de02cf0e5008d0e167288ad1598005b9e (patch) | |
| tree | adb47cb0e6e9d338fbb05b0a2df1d7391e6716c0 /tools/perf/scripts/python/flamegraph.py | |
| parent | riscv: mm: ptep_get_and_clear(): avoid atomic ops when !CONFIG_SMP (diff) | |
| download | linux-e0e51a0de02cf0e5008d0e167288ad1598005b9e.tar.gz linux-e0e51a0de02cf0e5008d0e167288ad1598005b9e.zip | |
riscv: mm: use xchg() on non-atomic_long_t variables, not atomic_long_xchg()
Let's not call atomic_long_xchg() on something that's not an
atomic_long_t, and just use xchg() instead. Continues the cleanup
from commit 546e42c8c6d94 ("riscv: Use an atomic xchg in
pudp_huge_get_and_clear()"),
Cc: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
