summaryrefslogtreecommitdiff
path: root/sys/compat/common
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
commit2d089dc551efe8a4004f99b557081ea313891050 (patch)
tree015a91c1480d57159d83fa495068cb7eed8d110b /sys/compat/common
parentedc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff)
Remove old vm.
Diffstat (limited to 'sys/compat/common')
-rw-r--r--sys/compat/common/kern_info_43.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/compat/common/kern_info_43.c b/sys/compat/common/kern_info_43.c
index dae4b926ebf..099c651d70c 100644
--- a/sys/compat/common/kern_info_43.c
+++ b/sys/compat/common/kern_info_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_info_43.c,v 1.9 1999/02/26 04:09:47 art Exp $ */
+/* $OpenBSD: kern_info_43.c,v 1.10 2001/06/27 04:58:41 art Exp $ */
/* $NetBSD: kern_info_43.c,v 1.5 1996/02/04 02:02:22 christos Exp $ */
/*
@@ -246,21 +246,13 @@ compat_43_sys_getkerninfo(p, v, retval)
case KINFO_METER:
name[0] = VM_METER;
error =
-#if defined(UVM)
uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
-#else
- vm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
-#endif
break;
case KINFO_LOADAVG:
name[0] = VM_LOADAVG;
error =
-#if defined(UVM)
uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
-#else
- vm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
-#endif
break;
case KINFO_CLOCKRATE: