PERFORCE change 132582 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sat Jan 5 13:31:12 PST 2008


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

Change 132582 by gonzo at gonzo_jeeves on 2008/01/05 21:30:40

	o thread_user_enter comes with KSE enabled

Affected files ...

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

Differences ...

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

@@ -648,8 +648,10 @@
 		PCPU_LAZY_INC(cnt.v_syscall);
 		if (td->td_ucred != p->p_ucred)
 			cred_update_thread(td);
+#ifdef KSE
 		if (p->p_flag & P_SA)
 			thread_user_enter(td);
+#endif		
 		/* compute next PC after syscall instruction */
 		tpc = trapframe->pc; /* Remember if restart */
 		if (DELAYBRANCH(trapframe->cause)) {	/* Check BD bit */


More information about the p4-projects mailing list