summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-30 09:24:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-30 09:24:39 +0000
commit9f85a418c4f178b98e9bc2dc6d16ca8814e92dfc (patch)
tree1516479a708c8fdae332ec5d4d5c59d6a8f9b97c /sys/kern/kern_clock.c
parentb32e0c7712a30f98356c6e4f7ba706c2122b07d2 (diff)
from netbsd:
Move the old-style disk instrumentation "structures" to a central location (sys/kern/subr_disk.c) and note that they should/will be deprecated.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 75118472993..d45d02a5e8f 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_clock.c,v 1.22 1995/03/03 01:24:03 cgd Exp $ */
+/* $NetBSD: kern_clock.c,v 1.23 1995/12/28 19:16:41 thorpej Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993
@@ -418,8 +418,6 @@ stopprofclock(p)
}
}
-int dk_ndrive = DK_NDRIVE;
-
/*
* Statistics clock. Grab profile sample, and if divider reaches 0,
* do process and kernel statistics.
@@ -491,6 +489,8 @@ statclock(frame)
pscnt = psdiv;
/*
+ * XXX Support old-style instrumentation for now.
+ *
* We maintain statistics shown by user-level statistics
* programs: the amount of time in each cpu state, and
* the amount of time each of DK_NDRIVE ``drives'' is busy.