PERFORCE change 20308 for review

Robert Watson rwatson at freebsd.org
Mon Oct 28 21:12:49 GMT 2002


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

Change 20308 by rwatson at rwatson_tislabs on 2002/10/28 13:12:28

	Prepare to merge: remove dup include (probably from integ),
	follow style(9) for #endif's.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/subr_trap.c#19 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/subr_trap.c#19 (text+ko) ====

@@ -50,7 +50,6 @@
 #include <sys/mac.h>
 #include <sys/mutex.h>
 #include <sys/proc.h>
-#include <sys/mac.h>
 #include <sys/kse.h>
 #include <sys/ktr.h>
 #include <sys/resourcevar.h>
@@ -183,7 +182,7 @@
 	p->p_sflag &= ~(PS_ALRMPEND | PS_NEEDSIGCHK | PS_PROFPEND | PS_XCPU);
 #ifdef MAC
 	p->p_sflag &= ~PS_MACPEND;
-#endif /* MAC */
+#endif
 	ke->ke_flags &= ~(KEF_ASTPENDING | KEF_NEEDRESCHED | KEF_OWEUPC);
 	cnt.v_soft++;
 	prticks = 0;
@@ -241,7 +240,7 @@
 #ifdef MAC
 	if (sflag & PS_MACPEND)
 		mac_thread_userret(td);
-#endif /* MAC */
+#endif
 	if (flags & KEF_NEEDRESCHED) {
 		mtx_lock_spin(&sched_lock);
 		sched_prio(td, kg->kg_user_pri);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list