patch-2.3.12 linux/arch/ppc/mm/init.c
Next file: linux/arch/sparc/ap1000/apmmu.c
Previous file: linux/arch/ppc/mm/fault.c
Back to the patch index
Back to the overall index
-  Lines: 14
 -  Date:
Sun Jul 25 13:45:25 1999
 -  Orig file: 
v2.3.11/linux/arch/ppc/mm/init.c
 -  Orig date: 
Wed Jul 21 15:46:48 1999
 
diff -u --recursive --new-file v2.3.11/linux/arch/ppc/mm/init.c linux/arch/ppc/mm/init.c
@@ -444,11 +444,11 @@
 #endif /* CONFIG_APUS */
 #endif /* CONFIG_8xx */
 	/* Do we have a page table? */
-	if (init_task.mm->pgd == NULL)
+	if (init_mm.pgd == NULL)
 		return 0;
 
 	/* Use upper 10 bits of addr to index the first level map */
-	pd = (pmd_t *) (init_task.mm->pgd + (addr >> PGDIR_SHIFT));
+	pd = (pmd_t *) (init_mm.pgd + (addr >> PGDIR_SHIFT));
 	if (pmd_none(*pd))
 		return 0;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)