Date: Tue, 8 Jun 2004 09:44:34 GMT From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 54412 for review Message-ID: <200406080944.i589iYK1015269@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54412 Change 54412 by jmallett@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080944.i589iYK1015269>