diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 5922ff67d5c2..89076712e619 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -995,7 +995,7 @@ vm_fault_prefault(pmap_t pmap, vm_offset_t addra, vm_map_entry_t entry) } if (((m->valid & VM_PAGE_BITS_ALL) == VM_PAGE_BITS_ALL) && (m->busy == 0) && - (m->flags & (PG_BUSY | PG_FICTITIOUS)) == 0) { + (m->flags & PG_FICTITIOUS) == 0) { vm_page_lock_queues(); if (VM_PAGE_INQUEUE1(m, PQ_CACHE)) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index ff586f2507bd..92b1fa911b94 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -1494,7 +1494,7 @@ vm_map_pmap_enter(vm_map_t map, vm_offset_t addr, vm_prot_t prot, } if ((p->valid & VM_PAGE_BITS_ALL) == VM_PAGE_BITS_ALL && (p->busy == 0) && - (p->flags & (PG_BUSY | PG_FICTITIOUS)) == 0) { + (p->flags & PG_FICTITIOUS) == 0) { if (p_start == NULL) { start = addr + ptoa(tmpidx); p_start = p;