diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-27 04:58:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-27 04:58:50 +0000 |
commit | 2d089dc551efe8a4004f99b557081ea313891050 (patch) | |
tree | 015a91c1480d57159d83fa495068cb7eed8d110b /sys/miscfs/kernfs/kernfs_vnops.c | |
parent | edc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff) |
Remove old vm.
Diffstat (limited to 'sys/miscfs/kernfs/kernfs_vnops.c')
-rw-r--r-- | sys/miscfs/kernfs/kernfs_vnops.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c index d09467aa019..968a613bf7d 100644 --- a/sys/miscfs/kernfs/kernfs_vnops.c +++ b/sys/miscfs/kernfs/kernfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kernfs_vnops.c,v 1.20 2001/06/23 02:14:25 csapuntz Exp $ */ +/* $OpenBSD: kernfs_vnops.c,v 1.21 2001/06/27 04:58:42 art Exp $ */ /* $NetBSD: kernfs_vnops.c,v 1.43 1996/03/16 23:52:47 christos Exp $ */ /* @@ -60,12 +60,8 @@ #include <sys/msgbuf.h> #include <miscfs/kernfs/kernfs.h> -#if defined(UVM) #include <vm/vm.h> #include <uvm/uvm_extern.h> -#else -#include <sys/vmmeter.h> -#endif #define KSTRING 256 /* Largest I/O available via this filesystem */ #define UIO_MX 32 @@ -105,11 +101,7 @@ struct kern_target kern_targets[] = { { DT_REG, N("ostype"), &ostype, KTT_STRING, VREG, READ_MODE }, { DT_REG, N("osrelease"), &osrelease, KTT_STRING, VREG, READ_MODE }, { DT_REG, N("osrev"), &osrev, KTT_INT, VREG, READ_MODE }, -#if defined(UVM) { DT_REG, N("pagesize"), &uvmexp.pagesize, KTT_INT, VREG, READ_MODE }, -#else - { DT_REG, N("pagesize"), &cnt.v_page_size, KTT_INT, VREG, READ_MODE }, -#endif { DT_REG, N("physmem"), &physmem, KTT_INT, VREG, READ_MODE }, { DT_REG, N("posix"), &posix, KTT_INT, VREG, READ_MODE }, #if 0 @@ -313,11 +305,7 @@ kernfs_xread(kt, off, bufp, len) break; case KTT_USERMEM: -#if defined(UVM) sprintf(*bufp, "%u\n", physmem - uvmexp.wired); -#else - sprintf(*bufp, "%u\n", physmem - cnt.v_wire_count); -#endif break; #ifdef IPSEC case KTT_IPSECSPI: |