|
@@ -172,24 +172,16 @@ static inline void arch_alloc_page(struct page *page, int order) { }
|
|
#endif
|
|
#endif
|
|
|
|
|
|
struct page *
|
|
struct page *
|
|
-__alloc_pages_internal(gfp_t gfp_mask, unsigned int order,
|
|
|
|
|
|
+__alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order,
|
|
struct zonelist *zonelist, nodemask_t *nodemask);
|
|
struct zonelist *zonelist, nodemask_t *nodemask);
|
|
|
|
|
|
static inline struct page *
|
|
static inline struct page *
|
|
__alloc_pages(gfp_t gfp_mask, unsigned int order,
|
|
__alloc_pages(gfp_t gfp_mask, unsigned int order,
|
|
struct zonelist *zonelist)
|
|
struct zonelist *zonelist)
|
|
{
|
|
{
|
|
- return __alloc_pages_internal(gfp_mask, order, zonelist, NULL);
|
|
|
|
|
|
+ return __alloc_pages_nodemask(gfp_mask, order, zonelist, NULL);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline struct page *
|
|
|
|
-__alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order,
|
|
|
|
- struct zonelist *zonelist, nodemask_t *nodemask)
|
|
|
|
-{
|
|
|
|
- return __alloc_pages_internal(gfp_mask, order, zonelist, nodemask);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask,
|
|
static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask,
|
|
unsigned int order)
|
|
unsigned int order)
|
|
{
|
|
{
|