summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/procfs/procfs_vfsops.c')
-rw-r--r--sys/miscfs/procfs/procfs_vfsops.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c
index 9c1601ca502..e590ae5b14e 100644
--- a/sys/miscfs/procfs/procfs_vfsops.c
+++ b/sys/miscfs/procfs/procfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_vfsops.c,v 1.13 2001/04/09 07:14:23 tholo Exp $ */
+/* $OpenBSD: procfs_vfsops.c,v 1.14 2001/06/27 04:58:44 art Exp $ */
/* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */
/*
@@ -60,9 +60,7 @@
#include <vm/vm.h> /* for PAGE_SIZE */
-#if defined(UVM)
#include <uvm/uvm_extern.h>
-#endif
int procfs_mount __P((struct mount *, const char *, void *,
struct nameidata *, struct proc *));
@@ -183,11 +181,7 @@ procfs_statfs(mp, sbp, p)
{
struct vmtotal vmtotals;
-#if defined(UVM)
uvm_total(&vmtotals);
-#else
- vmtotal(&vmtotals);
-#endif
sbp->f_bsize = PAGE_SIZE;
sbp->f_iosize = PAGE_SIZE;
sbp->f_blocks = vmtotals.t_vm;