aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorLeonardo Bras <[email protected]>2024-01-03 16:32:01 +0000
committerPalmer Dabbelt <[email protected]>2024-04-08 17:52:04 +0000
commit9061237392721f0e9b399161876fa36ddb6c4226 (patch)
treee5aac32a4274afe0afd943811547aaa64c348eae /scripts/generate_rust_target.rs
parentriscv/cmpxchg: Deduplicate cmpxchg() asm and macros (diff)
downloadkernel-9061237392721f0e9b399161876fa36ddb6c4226.tar.gz
kernel-9061237392721f0e9b399161876fa36ddb6c4226.zip
riscv/atomic.h : Deduplicate arch_atomic.*
Some functions use mostly the same asm for 32-bit and 64-bit versions. Make a macro that is generic enough and avoid code duplication. (This did not cause any change in generated asm) Signed-off-by: Leonardo Bras <[email protected]> Reviewed-by: Guo Ren <[email protected]> Reviewed-by: Andrea Parri <[email protected]> Tested-by: Guo Ren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions