diff options
Diffstat (limited to 'tools/testing/radix-tree/linux/gfp.h')
-rw-r--r-- | tools/testing/radix-tree/linux/gfp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/gfp.h b/tools/testing/radix-tree/linux/gfp.h new file mode 100644 index 000000000000..0e37f7a760eb --- /dev/null +++ b/tools/testing/radix-tree/linux/gfp.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef _GFP_H | ||
2 | #define _GFP_H | ||
3 | |||
4 | #define __GFP_BITS_SHIFT 22 | ||
5 | #define __GFP_BITS_MASK ((gfp_t)((1 << __GFP_BITS_SHIFT) - 1)) | ||
6 | #define __GFP_WAIT 1 | ||
7 | #define __GFP_ACCOUNT 0 | ||
8 | #define __GFP_NOWARN 0 | ||
9 | |||
10 | #endif | ||