diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 03:47:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 03:47:47 +0000 |
commit | b72a6a2146202e931a1cef34d1c20518dcc946d9 (patch) | |
tree | 767fef7c89a1074cd19b4c6c5226af8b9bd2334c /sys | |
parent | ed71d85886c0c846d050af1ae2e5a5d8476c8c1a (diff) |
vmtotal -> uvm_total for uvm
Diffstat (limited to 'sys')
-rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index c9bbc2751d8..8ed90970b04 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.8 1998/02/08 22:41:40 tholo Exp $ */ +/* $OpenBSD: procfs_vfsops.c,v 1.9 1999/02/26 03:47:46 art Exp $ */ /* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */ /* @@ -57,6 +57,10 @@ #include <miscfs/procfs/procfs.h> #include <vm/vm.h> /* for PAGE_SIZE */ +#if defined(UVM) +#include <uvm/uvm_extern.h> +#endif + int procfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, struct proc *)); int procfs_start __P((struct mount *, int, struct proc *)); @@ -154,7 +158,11 @@ procfs_statfs(mp, sbp, p) { struct vmtotal vmtotals; +#if defined(UVM) + uvm_total(&vmtotals); +#else vmtotal(&vmtotals); +#endif #ifdef COMPAT_09 sbp->f_type = 10; #else |