diff options
author | dyson <dyson@FreeBSD.org> | 1997-01-16 04:16:22 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-01-16 04:16:22 +0000 |
commit | 52f682b5823b83f1e906f18c5e969ef07a70b8f9 (patch) | |
tree | 0ad89c8435b3bd8b781b683d36913c0b84a63ac8 /sys/vm/vm_mmap.c | |
parent | b3f48f1d0e3959ea19934a3a2734680d5c86d96b (diff) | |
download | FreeBSD-src-52f682b5823b83f1e906f18c5e969ef07a70b8f9.zip FreeBSD-src-52f682b5823b83f1e906f18c5e969ef07a70b8f9.tar.gz |
Change the map entry flags from bitfields to bitmasks. Allows
for some code simplification.
Diffstat (limited to 'sys/vm/vm_mmap.c')
-rw-r--r-- | sys/vm/vm_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 70dcde7..f751e14 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -652,7 +652,7 @@ mincore(p, uap, retval) /* * ignore submaps (for now) or null objects */ - if (current->is_a_map || current->is_sub_map || + if ((current->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) || current->object.vm_object == NULL) continue; |