Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 06:17:31 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 56407 for review
Message-ID:  <200407040617.i646HVwP031327@repoman.freebsd.org>

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

Change 56407 by marcel@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



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