Fix two compliation problems on non-amd64 architectures.
This commit is contained in:
parent
1900b6f887
commit
2d3f4181de
@ -1783,7 +1783,9 @@ vm_page_alloc_domain_after(vm_object_t object, vm_pindex_t pindex, int domain,
|
||||
*/
|
||||
KASSERT(m != NULL, ("missing page"));
|
||||
|
||||
#if VM_NRESERVLEVEL > 0
|
||||
found:
|
||||
#endif
|
||||
vm_page_alloc_check(m);
|
||||
|
||||
/*
|
||||
|
@ -419,7 +419,7 @@ vm_reserv_depopulate(vm_reserv_t rv, int index)
|
||||
index));
|
||||
KASSERT(rv->popcnt > 0,
|
||||
("vm_reserv_depopulate: reserv %p's popcnt is corrupted", rv));
|
||||
KASSERT(rv->domain >= 0 && rv->domain < vm_ndomains,
|
||||
KASSERT(rv->domain < vm_ndomains,
|
||||
("vm_reserv_depopulate: reserv %p's domain is corrupted %d",
|
||||
rv, rv->domain));
|
||||
if (rv->popcnt == VM_LEVEL_0_NPAGES) {
|
||||
@ -531,7 +531,7 @@ vm_reserv_populate(vm_reserv_t rv, int index)
|
||||
("vm_reserv_populate: reserv %p is already full", rv));
|
||||
KASSERT(rv->pages->psind == 0,
|
||||
("vm_reserv_populate: reserv %p is already promoted", rv));
|
||||
KASSERT(rv->domain >= 0 && rv->domain < vm_ndomains,
|
||||
KASSERT(rv->domain < vm_ndomains,
|
||||
("vm_reserv_populate: reserv %p's domain is corrupted %d",
|
||||
rv, rv->domain));
|
||||
popmap_set(rv->popmap, index);
|
||||
@ -1218,7 +1218,7 @@ vm_reserv_reclaim(vm_reserv_t rv)
|
||||
vm_reserv_domain_lock(rv->domain);
|
||||
KASSERT(rv->inpartpopq,
|
||||
("vm_reserv_reclaim: reserv %p's inpartpopq is FALSE", rv));
|
||||
KASSERT(rv->domain >= 0 && rv->domain < vm_ndomains,
|
||||
KASSERT(rv->domain < vm_ndomains,
|
||||
("vm_reserv_reclaim: reserv %p's domain is corrupted %d",
|
||||
rv, rv->domain));
|
||||
TAILQ_REMOVE(&vm_rvq_partpop[rv->domain], rv, partpopq);
|
||||
|
Loading…
Reference in New Issue
Block a user