mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
rust: completion: Add __rust_helper to helpers
This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Link: https://patch.msgid.link/[email protected]
This commit is contained in:
1 parent
71a4d13fa1
commit
1c7a6f48f7
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <linux/completion.h>
|
||||
|
||||
void rust_helper_init_completion(struct completion *x)
|
||||
__rust_helper void rust_helper_init_completion(struct completion *x)
|
||||
{
|
||||
init_completion(x);
|
||||
}
|
||||
Reference in new issue
Block a user