[PATCH v2 1/3] rust: bitmap: add __rust_helper to helpers

Alice Ryhl posted 3 patches 1 month, 3 weeks ago
[PATCH v2 1/3] rust: bitmap: add __rust_helper to helpers
Posted by Alice Ryhl 1 month, 3 weeks ago
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>
---
 rust/helpers/bitmap.c | 1 +
 1 file changed, 1 insertion(+)

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)
 {
-- 
2.52.0.305.g3fc767764a-goog