summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:49:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:49:49 +0000
commitb61e35faf27549918f1230cc2ce84736dd843937 (patch)
tree30c8c327ade6c3964b6174515a7d4ac49fb5d480 /sys/kern/kern_synch.c
parentedcf27d64733b7c58c5e752241e2f00119bdc747 (diff)
remove old vm
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index f567273b29b..6777e6cb93e 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.35 2001/06/24 20:55:16 mickey Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.36 2001/06/27 04:49:45 art Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -52,9 +52,7 @@
#include <sys/sched.h>
#include <sys/timeout.h>
-#if defined(UVM)
#include <uvm/uvm_extern.h>
-#endif
#ifdef KTRACE
#include <sys/ktrace.h>
@@ -277,11 +275,7 @@ schedcpu(arg)
}
splx(s);
}
-#if defined(UVM)
uvm_meter();
-#else
- vmmeter();
-#endif
wakeup((caddr_t)&lbolt);
timeout_add(to, hz);
}
@@ -730,11 +724,7 @@ mi_switch()
/*
* Pick a new current process and record its start time.
*/
-#if defined(UVM)
uvmexp.swtch++;
-#else
- cnt.v_swtch++;
-#endif
cpu_switch(p);
microtime(&runtime);
}