]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: add bindings for bitops.h
authorBurak Emir <bqe@google.com>
Mon, 8 Sep 2025 07:21:52 +0000 (07:21 +0000)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 22 Sep 2025 19:52:44 +0000 (15:52 -0400)
commit6cf93a9ed39e9f86c7f69c28078500270e70a695
tree521639cd45f9023568dc2911271839de4784e854
parent0452b4ab2961093f23bb289b0112351b917fb23c
rust: add bindings for bitops.h

Makes atomic set_bit and clear_bit inline functions as well as the
non-atomic variants __set_bit and __clear_bit available to Rust.
Adds a new MAINTAINERS section BITOPS API BINDINGS [RUST].

Suggested-by: Alice Ryhl <aliceryhl@google.com>
Suggested-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Burak Emir <bqe@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
MAINTAINERS
rust/helpers/bitops.c [new file with mode: 0644]
rust/helpers/helpers.c