summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2025-12-17 13:51:29 +0000
committerYury Norov (NVIDIA) <yury.norov@gmail.com>2026-01-06 12:14:10 -0500
commitac3dc186df4eb53f20bf519b352b8a76328bea12 (patch)
tree421e1bc91f7e205d97f19c8ceecb49b6a22ac4e4 /rust
parentfa188edc671d4e2b9d88c1b48d2f4e577d6e6983 (diff)
downloadlinux-ac3dc186df4eb53f20bf519b352b8a76328bea12.tar.gz
linux-ac3dc186df4eb53f20bf519b352b8a76328bea12.zip
rust: bitmap: add __rust_helper to helpers
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>
Diffstat (limited to 'rust')
-rw-r--r--rust/helpers/bitmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/helpers/bitmap.c b/rust/helpers/bitmap.c
index a50e2f082e47..e4e9f4361270 100644
--- a/rust/helpers/bitmap.c
+++ b/rust/helpers/bitmap.c
@@ -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)
{