summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
commitf5ef029e9226c3849bdd1100b4ffe4eb60fec3d0 (patch)
tree859d5f5a3e4eed4faa56446dea4eb691bda4fb2c /sys/kern/kern_synch.c
parent37906c686def70b561a4f3a0d7b5e57acff256fb (diff)
Notes
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 2d5105514a20..22046a645dba 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_synch.c 8.9 (Berkeley) 5/19/95
- * $Id: kern_synch.c,v 1.61 1998/07/15 02:32:10 bde Exp $
+ * $Id: kern_synch.c,v 1.62 1998/08/26 05:27:42 dillon Exp $
*/
#include "opt_ktrace.h"
@@ -138,7 +138,6 @@ static void
roundrobin(arg)
void *arg;
{
- struct proc *p = curproc; /* XXX */
#ifdef SMP
need_resched();
@@ -223,8 +222,8 @@ roundrobin(arg)
static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */
SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, "");
-/* kernel uses `FSCALE', user uses `fscale' */
-static int fscale = FSCALE;
+/* kernel uses `FSCALE', userland (SHOULD) use kern.fscale */
+static int fscale __unused = FSCALE;
SYSCTL_INT(_kern, OID_AUTO, fscale, CTLFLAG_RD, 0, FSCALE, "");
/*