aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e089b92cdfff..35b1347d81bb 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1429,7 +1429,7 @@ try_next_zone:
1429/* 1429/*
1430 * This is the 'heart' of the zoned buddy allocator. 1430 * This is the 'heart' of the zoned buddy allocator.
1431 */ 1431 */
1432static struct page * 1432struct page *
1433__alloc_pages_internal(gfp_t gfp_mask, unsigned int order, 1433__alloc_pages_internal(gfp_t gfp_mask, unsigned int order,
1434 struct zonelist *zonelist, nodemask_t *nodemask) 1434 struct zonelist *zonelist, nodemask_t *nodemask)
1435{ 1435{
@@ -1632,22 +1632,7 @@ nopage:
1632got_pg: 1632got_pg:
1633 return page; 1633 return page;
1634} 1634}
1635 1635EXPORT_SYMBOL(__alloc_pages_internal);
1636struct page *
1637__alloc_pages(gfp_t gfp_mask, unsigned int order,
1638 struct zonelist *zonelist)
1639{
1640 return __alloc_pages_internal(gfp_mask, order, zonelist, NULL);
1641}
1642
1643struct page *
1644__alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order,
1645 struct zonelist *zonelist, nodemask_t *nodemask)
1646{
1647 return __alloc_pages_internal(gfp_mask, order, zonelist, nodemask);
1648}
1649
1650EXPORT_SYMBOL(__alloc_pages);
1651 1636
1652/* 1637/*
1653 * Common helper functions. 1638 * Common helper functions.