patch-2.4.22 linux-2.4.22/arch/mips64/mm/tlb-dbg-r4k.c

Next file: linux-2.4.22/arch/mips64/mm/tlb-glue-r4k.S
Previous file: linux-2.4.22/arch/mips64/mm/tlb-andes.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips64/mm/tlb-dbg-r4k.c linux-2.4.22/arch/mips64/mm/tlb-dbg-r4k.c
@@ -39,8 +39,8 @@
 	pmd = pmd_offset(pgd, addr);
 	pte = pte_offset(pmd, addr);
 
-	set_entrylo0(pte_val(pte[0]) >> 6);
-	set_entrylo1(pte_val(pte[1]) >> 6);
+	write_c0_entrylo0(pte_val(pte[0]) >> 6);
+	write_c0_entrylo1(pte_val(pte[1]) >> 6);
 	__asm__ __volatile__("nop;nop;nop");
 
 	tlb_write_random();

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