summaryrefslogtreecommitdiffstats
path: root/rust/helpers/maple_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'rust/helpers/maple_tree.c')
-rw-r--r--rust/helpers/maple_tree.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/helpers/maple_tree.c b/rust/helpers/maple_tree.c
new file mode 100644
index 000000000..5586486a7
--- /dev/null
+++ b/rust/helpers/maple_tree.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/maple_tree.h>
+
+__rust_helper void rust_helper_mt_init_flags(struct maple_tree *mt,
+ unsigned int flags)
+{
+ mt_init_flags(mt, flags);
+}