summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/gfp.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2016-12-23 12:15:12 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2016-12-23 12:15:12 +1100
commit5ae26d8e3c52eeca42f70af0e8fdfc3e0d081e65 (patch)
tree69e73ceceb61fc603f5f928ca47199abca16f6ca /tools/testing/radix-tree/linux/gfp.h
parentb92db3cdb9259b1a6d9a7949cee4a8c5157ee4e2 (diff)
parent01d57498e8723dac3f88dead622b4bb7ab65c010 (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'tools/testing/radix-tree/linux/gfp.h')
-rw-r--r--tools/testing/radix-tree/linux/gfp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/testing/radix-tree/linux/gfp.h b/tools/testing/radix-tree/linux/gfp.h
index 5b09b2ce6c33..c08db2cf7f07 100644
--- a/tools/testing/radix-tree/linux/gfp.h
+++ b/tools/testing/radix-tree/linux/gfp.h
@@ -13,10 +13,12 @@
#define __GFP_DIRECT_RECLAIM 0x400000u
#define __GFP_KSWAPD_RECLAIM 0x2000000u
-#define __GFP_RECLAIM (__GFP_DIRECT_RECLAIM|__GFP_KSWAPD_RECLAIM)
+#define __GFP_RECLAIM (__GFP_DIRECT_RECLAIM|__GFP_KSWAPD_RECLAIM)
+
+#define GFP_ATOMIC (__GFP_HIGH|__GFP_ATOMIC|__GFP_KSWAPD_RECLAIM)
+#define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS)
+#define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM)
-#define GFP_ATOMIC (__GFP_HIGH|__GFP_ATOMIC|__GFP_KSWAPD_RECLAIM)
-#define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS)
static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags)
{