summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Walmsley <pjw@kernel.org>2025-11-18 07:19:27 +0300
committerPaul Walmsley <pjw@kernel.org>2025-12-19 10:18:33 +0300
commit425cc087fbaf267be7683b95481b46a058d63e49 (patch)
tree448704fad9744c7677b752da71eb83e3d6f8a200 /include
parent1e6084d5c433b142b18d57694a6ab555ca6bb8cc (diff)
downloadlinux-425cc087fbaf267be7683b95481b46a058d63e49.tar.xz
riscv: mm: ptep_get_and_clear(): avoid atomic ops when !CONFIG_SMP
When !CONFIG_SMP, there's no need for atomic operations in ptep_get_and_clear(), so, similar to x86, let's not use atomics in this case. Cc: Alexandre Ghiti <alex@ghiti.fr> Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions