aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/test.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-09-12 23:29:32 -0400
committerMatthew Wilcox <willy@infradead.org>2018-10-21 10:46:47 -0400
commit4bb53bdda0d1e061035774ed4868bdeb4d889044 (patch)
tree105026e609420e18c861295044b0f5f6ffdafe08 /tools/testing/radix-tree/test.h
parentradix tree test suite: Remove multiorder benchmarking (diff)
downloadlinux-dev-4bb53bdda0d1e061035774ed4868bdeb4d889044.tar.xz
linux-dev-4bb53bdda0d1e061035774ed4868bdeb4d889044.zip
radix tree tests: Move item_insert_order
The remaining tests are not suitable for moving in-kernel, so move item_insert_order() into multiorder.c, make it static and make it use the XArray. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/radix-tree/test.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/radix-tree/test.h b/tools/testing/radix-tree/test.h
index 28961a08828e..e259c0839d5d 100644
--- a/tools/testing/radix-tree/test.h
+++ b/tools/testing/radix-tree/test.h
@@ -14,8 +14,6 @@ struct item *item_create(unsigned long index, unsigned int order);
int item_insert(struct radix_tree_root *root, unsigned long index);
void item_sanity(struct item *item, unsigned long index);
void item_free(struct item *item, unsigned long index);
-int item_insert_order(struct radix_tree_root *root, unsigned long index,
- unsigned order);
int item_delete(struct radix_tree_root *root, unsigned long index);
int item_delete_rcu(struct radix_tree_root *root, unsigned long index);
struct item *item_lookup(struct radix_tree_root *root, unsigned long index);