diff -urNp x-ref/include/asm-i386/pgalloc.h x/include/asm-i386/pgalloc.h --- x-ref/include/asm-i386/pgalloc.h 2002-12-26 01:07:47.000000000 +0100 +++ x/include/asm-i386/pgalloc.h 2002-12-26 01:11:22.000000000 +0100 @@ -149,13 +149,8 @@ static __inline__ void pte_free_slow(str } #define pte_free(pte) pte_free_fast(pte) -#ifdef CONFIG_X86_PAE -#define pgd_alloc(mm) get_pgd_slow() #define pgd_free(pgd) free_pgd_slow(pgd) -#else #define pgd_alloc(mm) get_pgd_fast() -#define pgd_free(pgd) free_pgd_fast(pgd) -#endif /* * allocating and freeing a pmd is trivial: the 1-entry pmd is