aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/gfp.h12
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
174struct page * 174struct 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
178static inline struct page * 178static 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
185static 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
193static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, 185static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask,
194 unsigned int order) 186 unsigned int order)
195{ 187{