diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 55fe57cd99a1..d73c133fdbe1 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -537,7 +537,7 @@ static void __free_pages_ok(struct page *page, unsigned int order) | |||
537 | /* | 537 | /* |
538 | * permit the bootmem allocator to evade page validation on high-order frees | 538 | * permit the bootmem allocator to evade page validation on high-order frees |
539 | */ | 539 | */ |
540 | void fastcall __init __free_pages_bootmem(struct page *page, unsigned int order) | 540 | void __init __free_pages_bootmem(struct page *page, unsigned int order) |
541 | { | 541 | { |
542 | if (order == 0) { | 542 | if (order == 0) { |
543 | __ClearPageReserved(page); | 543 | __ClearPageReserved(page); |
@@ -974,7 +974,7 @@ void mark_free_pages(struct zone *zone) | |||
974 | /* | 974 | /* |
975 | * Free a 0-order page | 975 | * Free a 0-order page |
976 | */ | 976 | */ |
977 | static void fastcall free_hot_cold_page(struct page *page, int cold) | 977 | static void free_hot_cold_page(struct page *page, int cold) |
978 | { | 978 | { |
979 | struct zone *zone = page_zone(page); | 979 | struct zone *zone = page_zone(page); |
980 | struct per_cpu_pages *pcp; | 980 | struct per_cpu_pages *pcp; |
@@ -1007,12 +1007,12 @@ static void fastcall free_hot_cold_page(struct page *page, int cold) | |||
1007 | put_cpu(); | 1007 | put_cpu(); |
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | void fastcall free_hot_page(struct page *page) | 1010 | void free_hot_page(struct page *page) |
1011 | { | 1011 | { |
1012 | free_hot_cold_page(page, 0); | 1012 | free_hot_cold_page(page, 0); |
1013 | } | 1013 | } |
1014 | 1014 | ||
1015 | void fastcall free_cold_page(struct page *page) | 1015 | void free_cold_page(struct page *page) |
1016 | { | 1016 | { |
1017 | free_hot_cold_page(page, 1); | 1017 | free_hot_cold_page(page, 1); |
1018 | } | 1018 | } |
@@ -1641,7 +1641,7 @@ EXPORT_SYMBOL(__alloc_pages); | |||
1641 | /* | 1641 | /* |
1642 | * Common helper functions. | 1642 | * Common helper functions. |
1643 | */ | 1643 | */ |
1644 | fastcall unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) | 1644 | unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) |
1645 | { | 1645 | { |
1646 | struct page * page; | 1646 | struct page * page; |
1647 | page = alloc_pages(gfp_mask, order); | 1647 | page = alloc_pages(gfp_mask, order); |
@@ -1652,7 +1652,7 @@ fastcall unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) | |||
1652 | 1652 | ||
1653 | EXPORT_SYMBOL(__get_free_pages); | 1653 | EXPORT_SYMBOL(__get_free_pages); |
1654 | 1654 | ||
1655 | fastcall unsigned long get_zeroed_page(gfp_t gfp_mask) | 1655 | unsigned long get_zeroed_page(gfp_t gfp_mask) |
1656 | { | 1656 | { |
1657 | struct page * page; | 1657 | struct page * page; |
1658 | 1658 | ||
@@ -1678,7 +1678,7 @@ void __pagevec_free(struct pagevec *pvec) | |||
1678 | free_hot_cold_page(pvec->pages[i], pvec->cold); | 1678 | free_hot_cold_page(pvec->pages[i], pvec->cold); |
1679 | } | 1679 | } |
1680 | 1680 | ||
1681 | fastcall void __free_pages(struct page *page, unsigned int order) | 1681 | void __free_pages(struct page *page, unsigned int order) |
1682 | { | 1682 | { |
1683 | if (put_page_testzero(page)) { | 1683 | if (put_page_testzero(page)) { |
1684 | if (order == 0) | 1684 | if (order == 0) |
@@ -1690,7 +1690,7 @@ fastcall void __free_pages(struct page *page, unsigned int order) | |||
1690 | 1690 | ||
1691 | EXPORT_SYMBOL(__free_pages); | 1691 | EXPORT_SYMBOL(__free_pages); |
1692 | 1692 | ||
1693 | fastcall void free_pages(unsigned long addr, unsigned int order) | 1693 | void free_pages(unsigned long addr, unsigned int order) |
1694 | { | 1694 | { |
1695 | if (addr != 0) { | 1695 | if (addr != 0) { |
1696 | VM_BUG_ON(!virt_addr_valid((void *)addr)); | 1696 | VM_BUG_ON(!virt_addr_valid((void *)addr)); |