aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2025-09-24 00:25:52 +0000
committerPaul Walmsley <[email protected]>2025-09-24 00:25:52 +0000
commit546e42c8c6d9498d5eac14bf2aca0383a11b145a (patch)
tree147e012ae5293dcb55aba9b9363032b81789dda5 /scripts/generate_rust_target.rs
parentriscv: Fix sparse warning about different address spaces (diff)
downloadkernel-546e42c8c6d9498d5eac14bf2aca0383a11b145a.tar.gz
kernel-546e42c8c6d9498d5eac14bf2aca0383a11b145a.zip
riscv: Use an atomic xchg in pudp_huge_get_and_clear()
Make sure we return the right pud value and not a value that could have been overwritten in between by a different core. Fixes: c3cc2a4a3a23 ("riscv: Add support for PUD THP") Cc: [email protected] Signed-off-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: use xchg rather than atomic_long_xchg; avoid atomic op for !CONFIG_SMP like x86] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions