mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-30 11:54:32 -04:00
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>
This commit is contained in:
committed by
Yury Norov (NVIDIA)
parent
fa188edc67
commit
ac3dc186df
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user