svn commit: r202905 - head/sys/mips/rmi

Randall Stewart rrs at FreeBSD.org
Sun Jan 24 01:06:02 UTC 2010


Author: rrs
Date: Sun Jan 24 01:06:02 2010
New Revision: 202905
URL: http://svn.freebsd.org/changeset/base/202905

Log:
  Changes the order of the setting the int happened (inside
  the lock).

Modified:
  head/sys/mips/rmi/xlr_machdep.c

Modified: head/sys/mips/rmi/xlr_machdep.c
==============================================================================
--- head/sys/mips/rmi/xlr_machdep.c	Sat Jan 23 23:16:50 2010	(r202904)
+++ head/sys/mips/rmi/xlr_machdep.c	Sun Jan 24 01:06:02 2010	(r202905)
@@ -617,8 +617,8 @@ msgring_process_fast_intr(void *arg)
 	 * messages
 	 */
 	disable_msgring_int(NULL);
-	it->i_pending = 1;
 	thread_lock(td);
+	it->i_pending = 1;
 	if (TD_AWAITING_INTR(td)) {
 		CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, p->p_pid,
 		    p->p_comm);


More information about the svn-src-head mailing list