diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-01-11 00:44:31 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-01-11 00:44:31 +0000 |
| commit | 55c449bc0ff1298113ce1aea94f7166dd8737cb2 (patch) | |
| tree | 0e230fcd66e130d040d8659e2bf94723c240cbc5 /sys/kern/kern_timeout.c | |
| parent | a1db8c36a5f425dad35fd34020b6120ebcb287ec (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_timeout.c')
| -rw-r--r-- | sys/kern/kern_timeout.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index a3c4462d16c6..2390b4d3f680 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_timeout.c,v 1.49 1998/01/10 13:16:26 phk Exp $ + * $Id: kern_timeout.c,v 1.50 1998/01/10 14:55:14 phk Exp $ */ /* Portions of this software are covered by the following: */ @@ -82,7 +82,7 @@ struct callout_list callfree; int callwheelsize, callwheelbits, callwheelmask; struct callout_tailq *callwheel; -static int softticks; /* Like ticks, but for softclock(). */ +int softticks; /* Like ticks, but for softclock(). */ static struct callout *nextsoftcheck; /* Next callout to be checked. */ /* @@ -119,10 +119,6 @@ softclock() * we last allowed interrupts. */ - if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) == NULL) { - softticks++; - return; - } (void)splsoftclock(); |
