PERFORCE change 42667 for review
John Baldwin
jhb at FreeBSD.org
Mon Nov 17 07:58:09 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=42667
Change 42667 by jhb at jhb_laptop on 2003/11/17 07:57:43
Compile.
Affected files ...
.. //depot/projects/smpng/sys/kern/sched_4bsd.c#19 edit
Differences ...
==== //depot/projects/smpng/sys/kern/sched_4bsd.c#19 (text+ko) ====
@@ -44,6 +44,7 @@
#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/lock.h>
+#include <sys/kthread.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
@@ -83,7 +84,7 @@
static struct callout roundrobin_callout;
static void roundrobin(void *arg);
-static void schedcpu(void *arg);
+static void schedcpu(void);
static void schedcpu_thread(void *dummy);
static void sched_setup(void *dummy);
static void maybe_resched(struct thread *td);
@@ -244,7 +245,7 @@
*/
/* ARGSUSED */
static void
-schedcpu(void *arg)
+schedcpu(void)
{
register fixpt_t loadfac = loadfactor(averunnable.ldavg[0]);
struct thread *td;
More information about the p4-projects
mailing list