diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/gfp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 164be9da3c1b..c17ba4945203 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h | |||
@@ -144,12 +144,6 @@ static inline enum zone_type gfp_zone(gfp_t flags) | |||
144 | return base + ZONE_NORMAL; | 144 | return base + ZONE_NORMAL; |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline gfp_t set_migrateflags(gfp_t gfp, gfp_t migrate_flags) | ||
148 | { | ||
149 | BUG_ON((gfp & GFP_MOVABLE_MASK) == GFP_MOVABLE_MASK); | ||
150 | return (gfp & ~(GFP_MOVABLE_MASK)) | migrate_flags; | ||
151 | } | ||
152 | |||
153 | /* | 147 | /* |
154 | * There is only one page-allocator function, and two main namespaces to | 148 | * There is only one page-allocator function, and two main namespaces to |
155 | * it. The alloc_page*() variants return 'struct page *' and as such | 149 | * it. The alloc_page*() variants return 'struct page *' and as such |