]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rust: bitmap: add __rust_helper to helpers
authorAlice Ryhl <aliceryhl@google.com>
Wed, 17 Dec 2025 13:51:29 +0000 (13:51 +0000)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Tue, 6 Jan 2026 17:14:10 +0000 (12:14 -0500)
This is needed to inline these helpers into Rust code.

Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
rust/helpers/bitmap.c

index a50e2f082e47ad1bacbf453fd79d1fdfe2cc11f5..e4e9f4361270033ab427d48b738d74dadb3a085f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <linux/bitmap.h>
 
+__rust_helper
 void rust_helper_bitmap_copy_and_extend(unsigned long *to, const unsigned long *from,
                unsigned int count, unsigned int size)
 {