summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-03-04 00:16:45 +0000
committerattilio <attilio@FreeBSD.org>2013-03-04 00:16:45 +0000
commitdf5bf2af9de4e98baa790d9a97d7617ce5baab8f (patch)
treea6ba6447539a37652708b1620001c01c853a20e8 /sys/kern/kern_timeout.c
parentc53a782d3a0c1c0e518a70106085a19c289f2e2e (diff)
parentc3b73942d316ae6fa383dd91712f0e455d5e6d55 (diff)
downloadFreeBSD-src-df5bf2af9de4e98baa790d9a97d7617ce5baab8f.zip
FreeBSD-src-df5bf2af9de4e98baa790d9a97d7617ce5baab8f.tar.gz
MFC
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r--sys/kern/kern_timeout.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index 9cdc39b..a217db1 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/callout.h>
-#include <sys/condvar.h>
#include <sys/interrupt.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
@@ -84,7 +83,7 @@ SYSCTL_INT(_debug, OID_AUTO, to_avg_mpcalls, CTLFLAG_RD, &avg_mpcalls, 0,
* TODO:
* allocate more timeout table slots when table overflows.
*/
-int callwheelsize, callwheelmask;
+u_int callwheelsize, callwheelmask;
/*
* The callout cpu migration entity represents informations necessary for
@@ -205,7 +204,7 @@ cc_cme_migrating(struct callout_cpu *cc)
}
/*
- * kern_timeout_callwheel_alloc() - kernel low level callwheel initialization
+ * kern_timeout_callwheel_alloc() - kernel low level callwheel initialization
*
* This code is called very early in the kernel initialization sequence,
* and may be called more then once.
@@ -704,7 +703,7 @@ softclock(void *arg)
* Initialize a handle so that using it with untimeout is benign.
*
* See AT&T BCI Driver Reference Manual for specification. This
- * implementation differs from that one in that although an
+ * implementation differs from that one in that although an
* identification value is returned from timeout, the original
* arguments to timeout as well as the identifier are used to
* identify entries for untimeout.
OpenPOWER on IntegriCloud