Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2008 00:33:32 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134864 for review
Message-ID:  <200802060033.m160XWMD030811@repoman.freebsd.org>

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

Change 134864 by imp@imp_lighthouse on 2008/02/06 00:33:22

	Get ASTs kinda sorta working, some of the time...  this is lame
	and likely needs to be torn our of trap.c and moved to exception.S
	to get it to really work...

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/trap.c#9 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/trap.c#9 (text+ko) ====

@@ -828,7 +828,6 @@
 
 		PTRACESTOP_SC(p, td, S_PT_SCX);
 
-#ifdef GONE_IN_7
 		/*
 		 * XXX ast still need to happen
 		 *
@@ -872,7 +871,6 @@
 		if (curthread->td_flags & (TDF_ASTPENDING|TDF_NEEDRESCHED)) {
 			ast(trapframe);
 		}
-#endif
 		return (trapframe->pc);
 	    }
 
@@ -1080,11 +1078,8 @@
 	 */
 	userret(td, trapframe);
 	mtx_assert(&Giant, MA_NOTOWNED);
-#ifdef GONE_IN_7
-	if (curthread->td_flags & (TDF_ASTPENDING | TDF_NEEDRESCHED)) {
+	if (curthread->td_flags & (TDF_ASTPENDING | TDF_NEEDRESCHED))
 		ast(trapframe);
-	}
-#endif
 	return (trapframe->pc);
 }
 



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