Index: linux-2.6.21-rc4/include/asm-x86_64/pgalloc.h =================================================================== --- linux-2.6.21-rc4.orig/include/asm-x86_64/pgalloc.h 2007-03-26 10:28:40.000000000 -0700 +++ linux-2.6.21-rc4/include/asm-x86_64/pgalloc.h 2007-03-26 10:29:04.000000000 -0700 @@ -110,9 +110,9 @@ quicklist_free(QUICK_PT, NULL, pte); } -static inline void pte_free(struct page *pte) +static inline void pte_free(struct page *page) { - __free_page(pte); + pte_free_kernel(page_address(page)); } #define __pte_free_tlb(tlb,pte) tlb_remove_page((tlb),(pte))