Date: Mon, 26 Jan 2004 13:43:02 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45956 for review Message-ID: <200401262143.i0QLh2D7050908@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45956 Change 45956 by jhb@jhb_slimer on 2004/01/26 13:42:20 Compile. Affected files ... .. //depot/projects/smpng/sys/kern/kern_synch.c#61 edit .. //depot/projects/smpng/sys/kern/subr_smp.c#27 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_synch.c#61 (text+ko) ==== @@ -49,6 +49,7 @@ #include <sys/condvar.h> #include <sys/kernel.h> #include <sys/ktr.h> +#include <sys/kthread.h> #include <sys/lock.h> #include <sys/mutex.h> #include <sys/proc.h> @@ -645,7 +646,6 @@ sched_setup(dummy) void *dummy; { - callout_init(&loadav_callout, 0); callout_init(&lbolt_callout, CALLOUT_MPSAFE); /* Kick off timeout driven events by calling first time. */ ==== //depot/projects/smpng/sys/kern/subr_smp.c#27 (text+ko) ==== @@ -268,7 +268,7 @@ atomic_store_rel_int(&started_cpus, map); /* wait for each to clear its bit */ - while (stopped_cpus & map) != 0) { + while ((stopped_cpus & map) != 0) { #ifdef __i386__ ia32_pause(); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401262143.i0QLh2D7050908>