aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/radix-tree/linux/gfp.h
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-02-25 06:00:11 -0500
committerMatthew Wilcox <mawilcox@microsoft.com>2018-02-25 06:00:11 -0500
commit3d4d5d618639c3155cfce57101d619a0935434d2 (patch)
treebef6b1ef33eef7f153721e832bea45143481486d /tools/testing/radix-tree/linux/gfp.h
parentMerge tag 'powerpc-4.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (diff)
downloadwireguard-linux-3d4d5d618639c3155cfce57101d619a0935434d2.tar.xz
wireguard-linux-3d4d5d618639c3155cfce57101d619a0935434d2.zip
radix tree test suite: Fix build
- Add an empty linux/compiler_types.h (now being included by kconfig.h) - Add __GFP_ZERO - Add kzalloc - Test __GFP_DIRECT_RECLAIM instead of __GFP_NOWARN Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'tools/testing/radix-tree/linux/gfp.h')
-rw-r--r--tools/testing/radix-tree/linux/gfp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/gfp.h b/tools/testing/radix-tree/linux/gfp.h
index e9fff59dfd8a..e3201ccf54c3 100644
--- a/tools/testing/radix-tree/linux/gfp.h
+++ b/tools/testing/radix-tree/linux/gfp.h
@@ -11,6 +11,7 @@
#define __GFP_IO 0x40u
#define __GFP_FS 0x80u
#define __GFP_NOWARN 0x200u
+#define __GFP_ZERO 0x8000u
#define __GFP_ATOMIC 0x80000u
#define __GFP_ACCOUNT 0x100000u
#define __GFP_DIRECT_RECLAIM 0x400000u