Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 19:43:25 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 136849 for review
Message-ID:  <200803041943.m24JhPPZ039154@repoman.freebsd.org>

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

Change 136849 by gonzo@gonzo_jeeves on 2008/03/04 19:43:21

	o Interrupt mask should be preserved in disableintr, otherwise
	   we'd get enabled but masked interrupts.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/psraccess.S#8 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/psraccess.S#8 (text+ko) ====

@@ -144,7 +144,6 @@
 	.set	mips0
 #else		
 	mfc0	v0, COP_0_STATUS_REG	# read status register
-	and	v0, v0, SR_INT_ENAB
 	nop
 	and	v1, v0, ~SR_INT_ENAB
 	mtc0	v1, COP_0_STATUS_REG	# disable all interrupts



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