summaryrefslogtreecommitdiff
path: root/sys/miscfs/kernfs/kernfs_vfsops.c
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/miscfs/kernfs/kernfs_vfsops.c
parentedc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff)
Remove old vm.
Diffstat (limited to 'sys/miscfs/kernfs/kernfs_vfsops.c')
-rw-r--r--sys/miscfs/kernfs/kernfs_vfsops.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c
index 96713bbc6f1..5a04a4f2081 100644
--- a/sys/miscfs/kernfs/kernfs_vfsops.c
+++ b/sys/miscfs/kernfs/kernfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs_vfsops.c,v 1.14 2001/02/20 01:50:09 assar Exp $ */
+/* $OpenBSD: kernfs_vfsops.c,v 1.15 2001/06/27 04:58:42 art Exp $ */
/* $NetBSD: kernfs_vfsops.c,v 1.26 1996/04/22 01:42:27 christos Exp $ */
/*
@@ -53,12 +53,8 @@
#include <sys/namei.h>
#include <sys/malloc.h>
-#if defined(UVM)
#include <vm/vm.h>
#include <uvm/uvm_extern.h> /* for uvmexp */
-#else
-#include <sys/vmmeter.h> /* for cnt */
-#endif
#include <miscfs/specfs/specdev.h>
#include <miscfs/kernfs/kernfs.h>
@@ -251,15 +247,9 @@ kernfs_statfs(mp, sbp, p)
#endif
sbp->f_flags = 0;
-#if defined(UVM)
sbp->f_bsize = uvmexp.pagesize;
sbp->f_iosize = uvmexp.pagesize;
sbp->f_bfree = physmem - uvmexp.wired;
-#else
- sbp->f_bsize = cnt.v_page_size;
- sbp->f_iosize = cnt.v_page_size;
- sbp->f_bfree = physmem - cnt.v_wire_count;
-#endif
sbp->f_blocks = physmem;
sbp->f_bavail = 0;
sbp->f_files = desiredvnodes;