mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01: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:
parent
fa188edc67
commit
ac3dc186df
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue