PERFORCE change 56407 for review

Marcel Moolenaar marcel at FreeBSD.org
Sat Jul 3 23:17:32 PDT 2004


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

Change 56407 by marcel at marcel_nfs on 2004/07/04 06:17:20

	IFC @56405

Affected files ...

.. //depot/projects/gdb/sys/kern/kern_switch.c#5 integrate

Differences ...

==== //depot/projects/gdb/sys/kern/kern_switch.c#5 (text+ko) ====

@@ -86,7 +86,7 @@
 ***/
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/kern/kern_switch.c,v 1.68 2004/07/02 20:21:43 jhb Exp $");
+__FBSDID("$FreeBSD: src/sys/kern/kern_switch.c,v 1.69 2004/07/03 00:57:43 marcel Exp $");
 
 #include "opt_full_preemption.h"
 
@@ -474,8 +474,10 @@
 int
 maybe_preempt(struct thread *td)
 {
+#ifdef PREEMPTION
 	struct thread *ctd;
 	int cpri, pri;
+#endif
 
 	mtx_assert(&sched_lock, MA_OWNED);
 #ifdef PREEMPTION


More information about the p4-projects mailing list