patch-2.1.101 linux/arch/mips/lib/dump_tlb.c

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

diff -u --recursive --new-file v2.1.100/linux/arch/mips/lib/dump_tlb.c linux/arch/mips/lib/dump_tlb.c
@@ -20,17 +20,6 @@
 	"u", "s", "k", "!"
 };
 
-static char *cache_map [] = {
-	"c/nc/wt/nwa,",
-	"c/nc/wt/wa, ",
-	"uncached,   ",
-	"c/nc/wb,    "
-	"unknown,    ",
-	"unknown,    ",
-	"unknown,    ",
-	"unknown,    "
-};
-
 void
 dump_tlb(int first, int last)
 {
@@ -69,9 +58,9 @@
 			c0 = (entrylo0 >> 3) & 7;
 			c1 = (entrylo1 >> 3) & 7;
 
-			printk("%s vpn2=%08x "
-			       "[pfn=%06x c=%d d=%d v=%d g=%d]"
-			       "[pfn=%06x c=%d d=%d v=%d g=%d]",
+			printk("%s vpn2=%08Lx "
+			       "[pfn=%06Lx c=%d d=%d v=%d g=%Ld]"
+			       "[pfn=%06Lx c=%d d=%d v=%d g=%Ld]",
 			       region_map [r], (entryhi >> 13) & 0xffffffff,
 			       (entrylo0 >> 6) & 0xffffff, c0,
 			       (entrylo0 & 4) ? 1 : 0,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov