Skip to contentSkip to conversation

: fix unknown value of page mask

PATCH New Juan Quintela 1 participant 1 message Dec 19, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fix unknown value of page mask

Hi
here we don't do anything if we don't know the size :( returning a sensical value.

Later, Juan.

Index: arch/mips/lib/dump_tlb.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/lib/dump_tlb.c,v retrieving revision 1.8.2.6

mips/lib/dump_tlb.c +1 -0
diff -u -r1.8.2.6 dump_tlb.c
@@ -31,6 +31,7 @@
 	case PM_64M:	return "64Mb";
 	case PM_256M:	return "256Mb";
 #endif
+	default:	return "unknown size";
 	}
 }
 
Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy