summaryrefslogtreecommitdiff
path: root/lib/radix-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/radix-tree.h')
-rw-r--r--lib/radix-tree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/radix-tree.h b/lib/radix-tree.h
new file mode 100644
index 000000000000..40d5c03e2b09
--- /dev/null
+++ b/lib/radix-tree.h
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
+/* radix-tree helpers that are only shared with xarray */
+
+struct kmem_cache;
+struct rcu_head;
+
+extern struct kmem_cache *radix_tree_node_cachep;
+extern void radix_tree_node_rcu_free(struct rcu_head *head);