diff options
author | Matthew Wilcox <willy@infradead.org> | 2017-11-07 16:30:10 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:45:53 -0400 |
commit | f8d5d0cc145cc21bfc56ef807dc28102aebbf228 (patch) | |
tree | 0fcba575e83fb02fd2cb49df1ce1cc55bcd927d3 /tools/testing/radix-tree/linux | |
parent | 02c02bf12c5d838603eed44195d3e91f094e2ab2 (diff) | |
download | linux-stable-f8d5d0cc145cc21bfc56ef807dc28102aebbf228.tar.gz linux-stable-f8d5d0cc145cc21bfc56ef807dc28102aebbf228.tar.bz2 linux-stable-f8d5d0cc145cc21bfc56ef807dc28102aebbf228.zip |
xarray: Add definition of struct xarray
This is a direct replacement for struct radix_tree_root. Some of the
struct members have changed name; convert those, and use a #define so
that radix_tree users continue to work without change.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tools/testing/radix-tree/linux')
-rw-r--r-- | tools/testing/radix-tree/linux/bug.h | 1 | ||||
-rw-r--r-- | tools/testing/radix-tree/linux/kconfig.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/bug.h b/tools/testing/radix-tree/linux/bug.h index 23b8ed52f8c8..03dc8a57eb99 100644 --- a/tools/testing/radix-tree/linux/bug.h +++ b/tools/testing/radix-tree/linux/bug.h @@ -1 +1,2 @@ +#include <stdio.h> #include "asm/bug.h" diff --git a/tools/testing/radix-tree/linux/kconfig.h b/tools/testing/radix-tree/linux/kconfig.h new file mode 100644 index 000000000000..6c8675859913 --- /dev/null +++ b/tools/testing/radix-tree/linux/kconfig.h @@ -0,0 +1 @@ +#include "../../../../include/linux/kconfig.h" |