summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2007-06-09 19:41:14 +0000
committerattilio <attilio@FreeBSD.org>2007-06-09 19:41:14 +0000
commit7cb55d80651607375968a6e55060d3730740b3af (patch)
tree68af57e78dedae94890670998a31bd7a31a8bf2c /sys/kern/kern_clock.c
parente8333a59d1ace09b4998aafca6c29d5fd5ccb23d (diff)
downloadFreeBSD-src-7cb55d80651607375968a6e55060d3730740b3af.zip
FreeBSD-src-7cb55d80651607375968a6e55060d3730740b3af.tar.gz
Since locking in kern/subr_prof.c is changed a bit, we need nomore of
time_lock spinlock exported. Approved by: jeff (mentor)
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index d5c2f3b..d9a82d2 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -85,7 +85,7 @@ SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL)
long cp_time[CPUSTATES];
/* Spin-lock protecting profiling statistics. */
-struct mtx time_lock;
+static struct mtx time_lock;
static int
sysctl_kern_cp_time(SYSCTL_HANDLER_ARGS)
OpenPOWER on IntegriCloud