aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/alloc/allocator.rs
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-06 11:03:14 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-11-12 14:01:29 +0100
commit75a98ed6faa03656811922cd383994fa7c300259 (patch)
tree4de0240a0e61a60f58db2b91cb139809878f0221 /rust/kernel/alloc/allocator.rs
parents390/atomic: Provide arch_atomic_try_cmpxchg() (diff)
downloadwireguard-linux-75a98ed6faa03656811922cd383994fa7c300259.tar.xz
wireguard-linux-75a98ed6faa03656811922cd383994fa7c300259.zip
s390/preempt: Use arch_try_cmpxchg() instead of __atomic_cmpxchg()
Use arch_try_cmpxchg() instead of __atomic_cmpxchg() in preempt_count_set() to generate similar or better code, depending in compiler features. Reviewed-by: Juergen Christ <jchrist@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'rust/kernel/alloc/allocator.rs')
0 files changed, 0 insertions, 0 deletions