patch-2.4.20 linux-2.4.20/include/asm-mips64/pgalloc.h

Next file: linux-2.4.20/include/asm-mips64/pgtable-bits.h
Previous file: linux-2.4.20/include/asm-mips64/pci.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips64/pgalloc.h linux-2.4.20/include/asm-mips64/pgalloc.h
@@ -193,7 +193,7 @@
 #define pgd_free(pgd)           free_pgd_fast(pgd)
 #define pgd_alloc(mm)           get_pgd_fast()
 
-extern pte_t kptbl[(PAGE_SIZE<<KPTBL_PAGE_ORDER)/sizeof(pte_t)];
+extern pte_t kptbl[(PAGE_SIZE << PGD_ORDER)/sizeof(pte_t)];
 extern pmd_t kpmdtbl[PTRS_PER_PMD];
 
 extern int do_check_pgt_cache(int, int);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)