summaryrefslogtreecommitdiff
path: root/rust/helpers/wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'rust/helpers/wait.c')
-rw-r--r--rust/helpers/wait.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/helpers/wait.c b/rust/helpers/wait.c
new file mode 100644
index 000000000000..c7336bbf2750
--- /dev/null
+++ b/rust/helpers/wait.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/export.h>
+#include <linux/wait.h>
+
+void rust_helper_init_wait(struct wait_queue_entry *wq_entry)
+{
+ init_wait(wq_entry);
+}