Skip to content

Commit ac3dc18

Browse files
DarksonnYuryNorov
authored andcommitted
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>
1 parent fa188ed commit ac3dc18

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/helpers/bitmap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include <linux/bitmap.h>
44

5+
__rust_helper
56
void rust_helper_bitmap_copy_and_extend(unsigned long *to, const unsigned long *from,
67
unsigned int count, unsigned int size)
78
{

0 commit comments

Comments
 (0)