PERFORCE change 54412 for review

Juli Mallett jmallett at FreeBSD.org
Tue Jun 8 09:44:35 GMT 2004


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

Change 54412 by jmallett at jmallett_oingo on 2004/06/08 09:43:42

	I'm not sure this is right, but nobody's telling me it's not.
	(except the voices in my head.)

Affected files ...

.. //depot/projects/mips/sys/mips/mips/critical.c#3 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/critical.c#3 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/mips/sys/mips/mips/critical.c#2 $
+ * $P4: //depot/projects/mips/sys/mips/mips/critical.c#3 $
  */
 
 #include <sys/param.h>
@@ -38,5 +38,8 @@
 void
 cpu_critical_fork_exit(void)
 {
-	panic("%s", __func__);
+	struct thread *td;
+
+	td = curthread;
+	td->td_md.md_savecrit = mips_rd_status() | MIPS_SR_INT_IE;
 }


More information about the p4-projects mailing list