diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-10-20 11:21:25 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-10-20 11:21:25 +0000 |
commit | 835b858dfbf26d2ba4b90158ed05b48b906fa1e0 (patch) | |
tree | 722dbb717bb2fb78bc5d4a36b966fe6575c0e769 /usr.sbin | |
parent | 7df64166bcc136b009fa8a8d6f956621a20b7b31 (diff) |
VM_MAP_BUSY and VM_MAP_WANTLOCK will be removed soon, prep for that.
OK dlg@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/procmap/procmap.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c index c8d19a106b6..ea307adb0ce 100644 --- a/usr.sbin/procmap/procmap.c +++ b/usr.sbin/procmap/procmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procmap.c,v 1.73 2024/08/28 14:22:36 naddy Exp $ */ +/* $OpenBSD: procmap.c,v 1.74 2024/10/20 11:21:24 claudio Exp $ */ /* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */ /* @@ -459,8 +459,14 @@ process_map(kvm_t *kd, pid_t pid, struct kinfo_proc *proc, struct sum *sum) vmmap_flags & VM_MAP_PAGEABLE ? " PAGEABLE" : "", vmmap_flags & VM_MAP_INTRSAFE ? " INTRSAFE" : "", vmmap_flags & VM_MAP_WIREFUTURE ? " WIREFUTURE" : "", - vmmap_flags & VM_MAP_BUSY ? " BUSY" : "", - vmmap_flags & VM_MAP_WANTLOCK ? " WANTLOCK" : "", +#ifdef VM_MAP_BUSY + vmmap_flags & VM_MAP_BUSY ? " BUSY" : +#endif + "", +#ifdef VM_MAP_WANTLOCK + vmmap_flags & VM_MAP_WANTLOCK ? " WANTLOCK" : +#endif + "", #if VM_MAP_TOPDOWN > 0 vmmap_flags & VM_MAP_TOPDOWN ? " TOPDOWN" : #endif |