X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fswap.c;h=73d351439ef6c9cc34cf9d1ad4887692a7d935b4;hb=5d2a2dbbc1025dbf7998b9289574d9592b8f21cc;hp=154ae13d8b7e33bd9f5d929b2c7e4c16ab38590c;hpb=ec33b309101bb2904e9fe20252f7760e254d05ec;p=linux-2.6 diff --git a/mm/swap.c b/mm/swap.c index 154ae13d8b..73d351439e 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -34,8 +34,6 @@ /* How many pages do we try to swap or page in/out together? */ int page_cluster; -#ifdef CONFIG_HUGETLB_PAGE - void put_page(struct page *page) { if (unlikely(PageCompound(page))) { @@ -52,7 +50,6 @@ void put_page(struct page *page) __page_cache_release(page); } EXPORT_SYMBOL(put_page); -#endif /* * Writeback is about to end against a page which has been marked for immediate @@ -413,7 +410,6 @@ void vm_acct_memory(long pages) } preempt_enable(); } -EXPORT_SYMBOL(vm_acct_memory); #ifdef CONFIG_HOTPLUG_CPU static void lru_drain_cache(unsigned int cpu)