PERFORCE change 134864 for review

Warner Losh imp at FreeBSD.org
Tue Feb 5 16:33:34 PST 2008


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

Change 134864 by imp at 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);
 }
 


More information about the p4-projects mailing list