Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 07:58:07 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42667 for review
Message-ID:  <200311171558.hAHFw7L3025312@repoman.freebsd.org>

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

Change 42667 by jhb@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;



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