summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-09-04 19:14:47 +0000
committermiod <miod@openbsd.org>2014-09-04 19:14:47 +0000
commitd036fd5e8d957288a150c760432887aec201777c (patch)
treeea8d63f7437d0b163be005e83f73bafb7c7de467 /sys/kern/kern_clock.c
parentRevert previous change, but use curcpu()->ci_schedstate.spc_cp_time[] instead (diff)
downloadwireguard-openbsd-d036fd5e8d957288a150c760432887aec201777c.tar.xz
wireguard-openbsd-d036fd5e8d957288a150c760432887aec201777c.zip
Remove global cp_time[] array; no longer used now that all arches implement
cpu_info.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 62a95b4fa42..6559b1615ab 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_clock.c,v 1.85 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.86 2014/09/04 19:14:47 miod Exp $ */
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@ -102,8 +102,6 @@ int ticks;
static int psdiv, pscnt; /* prof => stat divider */
int psratio; /* ratio: prof / stat */
-long cp_time[CPUSTATES];
-
void *softclock_si;
/*