aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/alloc/allocator.rs
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-06 11:03:12 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-11-12 14:01:28 +0100
commitf99d670e31b960562fcd34587e9f824b6f05a144 (patch)
tree6b8807801253375661630b619a3950d9b1a31b91 /rust/kernel/alloc/allocator.rs
parents390/atomic: Convert arch_atomic_xchg() to C function (diff)
downloadwireguard-linux-f99d670e31b960562fcd34587e9f824b6f05a144.tar.xz
wireguard-linux-f99d670e31b960562fcd34587e9f824b6f05a144.zip
s390/cmpxchg: Use arch_cmpxchg() instead of __atomic_cmpxchg()
Use arch_cmpxchg() instead of __atomic_cmpxchg() for the arch_atomic_cmpxchg() implementations. arch_cmpxchg() generates the same code and doesn't need a cast like it is required for arch_atomic64_cmpxchg(). 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