aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gfp.h')
-rw-r--r--include/linux/gfp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index e5567e6762f3..2e1b32c0484d 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -83,6 +83,7 @@ struct vm_area_struct;
83#define GFP_HIGHUSER_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_FS | \ 83#define GFP_HIGHUSER_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_FS | \
84 __GFP_HARDWALL | __GFP_HIGHMEM | \ 84 __GFP_HARDWALL | __GFP_HIGHMEM | \
85 __GFP_MOVABLE) 85 __GFP_MOVABLE)
86#define GFP_IOFS (__GFP_IO | __GFP_FS)
86 87
87#ifdef CONFIG_NUMA 88#ifdef CONFIG_NUMA
88#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) 89#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY)
@@ -337,9 +338,7 @@ void drain_local_pages(void *dummy);
337 338
338extern gfp_t gfp_allowed_mask; 339extern gfp_t gfp_allowed_mask;
339 340
340static inline void set_gfp_allowed_mask(gfp_t mask) 341extern void set_gfp_allowed_mask(gfp_t mask);
341{ 342extern gfp_t clear_gfp_allowed_mask(gfp_t mask);
342 gfp_allowed_mask = mask;
343}
344 343
345#endif /* __LINUX_GFP_H */ 344#endif /* __LINUX_GFP_H */