diff options
| author | ad <ad@NetBSD.org> | 2019-12-21 13:00:20 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2019-12-21 13:00:20 +0000 |
| commit | 95a9fc3206fd501d5cf3bd69075cf0dfcdac508f (patch) | |
| tree | 67b5ad15ec75816792165190b3b8c5bd2bf91921 /sys/miscfs/procfs | |
| parent | e8976de24dbe093710e96e7a0772e1b27fbbe094 (diff) | |
uvmexp.free -> uvm_free()
Diffstat (limited to 'sys/miscfs/procfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_linux.c b/sys/miscfs/procfs/procfs_linux.c index c52d7dd2eb2..cdc462717f5 100644 --- a/sys/miscfs/procfs/procfs_linux.c +++ b/sys/miscfs/procfs/procfs_linux.c @@ -1,4 +1,4 @@ -/* $NetBSD: procfs_linux.c,v 1.77 2019/12/16 22:47:55 ad Exp $ */ +/* $NetBSD: procfs_linux.c,v 1.78 2019/12/21 13:00:24 ad Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.77 2019/12/16 22:47:55 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.78 2019/12/21 13:00:24 ad Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -142,7 +142,7 @@ procfs_domeminfo(struct lwp *curl, struct proc *p, bf = malloc(LBFSZ, M_TEMP, M_WAITOK); cpu_count_sync_all(); - freepg = uvmexp.free; + freepg = (long)uvm_free(); filepg = (long)cpu_count_get(CPU_COUNT_FILEPAGES); anonpg = (long)cpu_count_get(CPU_COUNT_ANONPAGES); execpg = (long)cpu_count_get(CPU_COUNT_EXECPAGES); |
