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

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)