diff options
| author | 1999-02-26 03:47:46 +0000 | |
|---|---|---|
| committer | 1999-02-26 03:47:46 +0000 | |
| commit | c8b3a65fb0537fc00fb5c0dfb65ffaa67fb9cf3f (patch) | |
| tree | b18935bc269d5b9532a4a65ecef8057c4164236d /sys/miscfs/procfs/procfs_vfsops.c | |
| parent | Merge from the Ericsson repository (diff) | |
| download | wireguard-openbsd-c8b3a65fb0537fc00fb5c0dfb65ffaa67fb9cf3f.tar.xz wireguard-openbsd-c8b3a65fb0537fc00fb5c0dfb65ffaa67fb9cf3f.zip | |
vmtotal -> uvm_total for uvm
Diffstat (limited to 'sys/miscfs/procfs/procfs_vfsops.c')
| -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 |
