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_object.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_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 6faeed2..19b3b11 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1365,7 +1365,7 @@ _vm_object_in_map(map, object, entry) } tmpe = tmpe->next; } - } else if (entry->is_sub_map || entry->is_a_map) { + } else if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) { tmpm = entry->object.share_map; tmpe = tmpm->header.next; entcount = tmpm->nentries; |