patch-2.3.99-pre9 linux/arch/mips/lib/r3k_dump_tlb.c

Next file: linux/arch/mips/lib/rtc-no.c
Previous file: linux/arch/mips/lib/memset.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/arch/mips/lib/r3k_dump_tlb.c linux/arch/mips/lib/r3k_dump_tlb.c
@@ -29,7 +29,7 @@
 
 	for(i=first;i<=last;i++)
 	{
-		write_32bit_cp0_register(CP0_INDEX, i);
+		write_32bit_cp0_register(CP0_INDEX, i<<8);
 		__asm__ __volatile__(
 			".set\tnoreorder\n\t"
 			"tlbr\n\t"

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])