PERFORCE change 100821 for review

Wojciech A. Koszek wkoszek at FreeBSD.org
Thu Jul 6 23:25:06 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100821

Change 100821 by wkoszek at wkoszek_laptop on 2006/07/06 23:24:26

	Since now mips_tlbp() is void. It doesn't return ret also.
	Comment both after bms@ changes.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/cpufunc.h#8 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/include/cpufunc.h#8 (text+ko) ====

@@ -54,16 +54,16 @@
 {
 	__asm __volatile ("tlbp");
 	mips_barrier();
+#if 0
 	register_t ret;
-#if 0
 	register_t tmp;
 
 	__asm __volatile("mfc0	%0, $12\n" /* MIPS_COP_0_STATUS */
 	 		 "and	%1, %0, $~1\n" /* MIPS_SR_INT_IE */
 			 "mtc0	%1, $12\n" /* MIPS_COP_0_STATUS */
 			 : "=r" (ret), "=r" (tmp));
+	return (ret);
 #endif
-	return (ret);
 }
 
 static __inline void


More information about the p4-projects mailing list