diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-25 06:00:11 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-25 06:00:11 -0500 |
commit | 3d4d5d618639c3155cfce57101d619a0935434d2 (patch) | |
tree | bef6b1ef33eef7f153721e832bea45143481486d /tools/testing/radix-tree/linux/gfp.h | |
parent | 3664ce2d930983966d2aac0e167f1332988c4e25 (diff) | |
download | linux-3d4d5d618639c3155cfce57101d619a0935434d2.tar.gz linux-3d4d5d618639c3155cfce57101d619a0935434d2.tar.xz |
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.h | 1 |
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 |