summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2026-01-05 12:42:38 +0000
committerBoqun Feng <boqun.feng@gmail.com>2026-01-09 19:01:42 +0800
commit5628f0510a4c64908c5d2f36a676b092e1e5d174 (patch)
tree6e11b75d5c32219360d2193b4b5f8bb09b3f6097
parent75b6034780e8dc8c71096313534ccb720fa633f9 (diff)
rust: wait: 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: Boqun Feng <boqun.feng@gmail.com> Link: https://patch.msgid.link/20260105-define-rust-helper-v2-25-51da5f454a67@google.com
-rw-r--r--rust/helpers/wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/helpers/wait.c b/rust/helpers/wait.c
index ae48e33d9da3..2dde1e451780 100644
--- a/rust/helpers/wait.c
+++ b/rust/helpers/wait.c
@@ -2,7 +2,7 @@
#include <linux/wait.h>
-void rust_helper_init_wait(struct wait_queue_entry *wq_entry)
+__rust_helper void rust_helper_init_wait(struct wait_queue_entry *wq_entry)
{
init_wait(wq_entry);
}