diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfp.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 3760e7c5de02..549ec5583103 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h | |||
@@ -172,24 +172,16 @@ static inline void arch_alloc_page(struct page *page, int order) { } | |||
172 | #endif | 172 | #endif |
173 | 173 | ||
174 | struct page * | 174 | struct page * |
175 | __alloc_pages_internal(gfp_t gfp_mask, unsigned int order, | 175 | __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, |
176 | struct zonelist *zonelist, nodemask_t *nodemask); | 176 | struct zonelist *zonelist, nodemask_t *nodemask); |
177 | 177 | ||
178 | static inline struct page * | 178 | static inline struct page * |
179 | __alloc_pages(gfp_t gfp_mask, unsigned int order, | 179 | __alloc_pages(gfp_t gfp_mask, unsigned int order, |
180 | struct zonelist *zonelist) | 180 | struct zonelist *zonelist) |
181 | { | 181 | { |
182 | return __alloc_pages_internal(gfp_mask, order, zonelist, NULL); | 182 | return __alloc_pages_nodemask(gfp_mask, order, zonelist, NULL); |
183 | } | 183 | } |
184 | 184 | ||
185 | static inline struct page * | ||
186 | __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, | ||
187 | struct zonelist *zonelist, nodemask_t *nodemask) | ||
188 | { | ||
189 | return __alloc_pages_internal(gfp_mask, order, zonelist, nodemask); | ||
190 | } | ||
191 | |||
192 | |||
193 | static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, | 185 | static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, |
194 | unsigned int order) | 186 | unsigned int order) |
195 | { | 187 | { |