summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-01-16 04:16:22 +0000
committerdyson <dyson@FreeBSD.org>1997-01-16 04:16:22 +0000
commit52f682b5823b83f1e906f18c5e969ef07a70b8f9 (patch)
tree0ad89c8435b3bd8b781b683d36913c0b84a63ac8 /sys/vm/vm_object.c
parentb3f48f1d0e3959ea19934a3a2734680d5c86d96b (diff)
downloadFreeBSD-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.c2
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;
OpenPOWER on IntegriCloud