patch-2.4.25 linux-2.4.25/arch/mips64/mm/init.c

Next file: linux-2.4.25/arch/mips64/mm/loadmmu.c
Previous file: linux-2.4.25/arch/mips64/mm/fault.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/mips64/mm/init.c linux-2.4.25/arch/mips64/mm/init.c
@@ -63,7 +63,7 @@
 {
 	pgd_t *ret, *init;
 
-	ret = (pgd_t *) __get_free_pages(GFP_KERNEL, 1);
+	ret = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_ORDER);
 	if (ret) {
 		init = pgd_offset(&init_mm, 0);
 		pgd_init((unsigned long)ret);

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