aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-05 01:29:26 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:18 -0500
commit920c7a5d0c94b8ce740f1d76fa06422f2a95a757 (patch)
tree74ab4b9b5a6f4279b9b9d2a463c6700546ba0011 /mm/page_alloc.c
parent1e548deb5d1630ca14ba04da04e3b6b3766178c7 (diff)
mm: remove fastcall from mm/
fastcall is always defined to be empty, remove it [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c16
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 */
540void fastcall __init __free_pages_bootmem(struct page *page, unsigned int order) 540void __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 */
977static void fastcall free_hot_cold_page(struct page *page, int cold) 977static 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
1010void fastcall free_hot_page(struct page *page) 1010void 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
1015void fastcall free_cold_page(struct page *page) 1015void 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 */
1644fastcall unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) 1644unsigned 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
1653EXPORT_SYMBOL(__get_free_pages); 1653EXPORT_SYMBOL(__get_free_pages);
1654 1654
1655fastcall unsigned long get_zeroed_page(gfp_t gfp_mask) 1655unsigned 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
1681fastcall void __free_pages(struct page *page, unsigned int order) 1681void __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
1691EXPORT_SYMBOL(__free_pages); 1691EXPORT_SYMBOL(__free_pages);
1692 1692
1693fastcall void free_pages(unsigned long addr, unsigned int order) 1693void 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));