Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 23:25:05 GMT
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 100821 for review
Message-ID:  <200607062325.k66NP5fT059600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100821

Change 100821 by wkoszek@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607062325.k66NP5fT059600>