--- include/linux/gfp.h | 2 -- mm/swap.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) Index: linux-2.6.24-rc6-mm1/include/linux/gfp.h =================================================================== --- linux-2.6.24-rc6-mm1.orig/include/linux/gfp.h 2008-01-10 20:06:46.357150075 -0800 +++ linux-2.6.24-rc6-mm1/include/linux/gfp.h 2008-01-10 20:06:53.333153760 -0800 @@ -220,8 +220,6 @@ extern unsigned long FASTCALL(get_zeroed extern void FASTCALL(__free_pages(struct page *page, unsigned int order)); extern void FASTCALL(free_pages(unsigned long addr, unsigned int order)); extern void FASTCALL(free_a_page(struct page *page)); -#define free_hot_page(page) free_a_page(page) -#define free_cold_page(page) free_a_page(page) #define __free_page(page) __free_pages((page), 0) #define free_page(addr) free_pages((addr),0) Index: linux-2.6.24-rc6-mm1/mm/swap.c =================================================================== --- linux-2.6.24-rc6-mm1.orig/mm/swap.c 2008-01-10 20:06:17.021154292 -0800 +++ linux-2.6.24-rc6-mm1/mm/swap.c 2008-01-10 20:06:26.185140660 -0800 @@ -54,7 +54,7 @@ static void __page_cache_release(struct del_page_from_lru(zone, page); spin_unlock_irqrestore(&zone->lru_lock, flags); } - free_hot_page(page); + free_a_page(page); } static void put_compound_page(struct page *page)