patch-2.4.22 linux-2.4.22/arch/arm/mm/mm-armv.c
Next file: linux-2.4.22/arch/arm/mm/mm-riscstation.c
Previous file: linux-2.4.22/arch/arm/mm/ioremap.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
2003-08-25 04:44:39.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/arm/mm/mm-armv.c
-  Orig date: 
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.21/arch/arm/mm/mm-armv.c linux-2.4.22/arch/arm/mm/mm-armv.c
@@ -200,7 +200,7 @@
 	}
 	ptep = pte_offset(pmdp, virt);
 
-	set_pte(ptep, mk_pte_phys(phys, __pgprot(prot)));
+	set_pte(ptep, pfn_pte(phys >> PAGE_SHIFT, __pgprot(prot)));
 }
 
 /*
@@ -388,8 +388,6 @@
 	init_maps->bufferable = 0;
 
 	create_mapping(init_maps);
-
-	flush_cache_all();
 }
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)