diff options
author | phk <phk@FreeBSD.org> | 1998-01-14 19:42:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-01-14 19:42:47 +0000 |
commit | 83c5648e27a1f4d105460098c3f53b97ddb06ffa (patch) | |
tree | 8037eff51a8bcd99ce7add949adfe010ebc8f2d7 /sys | |
parent | 232effd62320f5401d87567a76e8669cfb23e078 (diff) | |
download | FreeBSD-src-83c5648e27a1f4d105460098c3f53b97ddb06ffa.zip FreeBSD-src-83c5648e27a1f4d105460098c3f53b97ddb06ffa.tar.gz |
Make softticks static.
Remove unneeded stuff.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_timeout.c | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 2390b4d..b5dae81 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -36,45 +36,12 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_timeout.c,v 1.50 1998/01/10 14:55:14 phk Exp $ + * $Id: kern_timeout.c,v 1.51 1998/01/11 00:44:31 phk Exp $ */ -/* Portions of this software are covered by the following: */ -/****************************************************************************** - * * - * Copyright (c) David L. Mills 1993, 1994 * - * * - * Permission to use, copy, modify, and distribute this software and its * - * documentation for any purpose and without fee is hereby granted, provided * - * that the above copyright notice appears in all copies and that both the * - * copyright notice and this permission notice appear in supporting * - * documentation, and that the name University of Delaware not be used in * - * advertising or publicity pertaining to distribution of the software * - * without specific, written prior permission. The University of Delaware * - * makes no representations about the suitability this software for any * - * purpose. It is provided "as is" without express or implied warranty. * - * * - *****************************************************************************/ - #include <sys/param.h> #include <sys/systm.h> -#include <sys/dkstat.h> -#include <sys/callout.h> #include <sys/kernel.h> -#include <sys/proc.h> -#include <sys/resourcevar.h> -#include <sys/signalvar.h> -#include <sys/timex.h> -#include <vm/vm.h> -#include <sys/lock.h> -#include <vm/pmap.h> -#include <vm/vm_map.h> -#include <sys/sysctl.h> - -#include <machine/cpu.h> -#define CLOCK_HAIR /* XXX */ -#include <machine/clock.h> -#include <machine/limits.h> /* Exported to machdep.c. */ struct callout *callout; @@ -82,7 +49,7 @@ struct callout_list callfree; int callwheelsize, callwheelbits, callwheelmask; struct callout_tailq *callwheel; -int softticks; /* Like ticks, but for softclock(). */ +static int softticks; /* Like ticks, but for softclock(). */ static struct callout *nextsoftcheck; /* Next callout to be checked. */ /* |