Fix-up r250338 by completing the removal of VM_NDOMAIN in favor of

MAXMEMDOM.
This unbreak builds.

Sponsored by:	EMC / Isilon storage division
Reported by:	adrian, jeli
This commit is contained in:
Attilio Rao 2013-05-08 10:55:39 +00:00
parent 94f8d6fdba
commit d0b5855eb2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250361

View File

@ -464,7 +464,7 @@ vm_phys_alloc_pages(int pool, int order)
vm_page_t
vm_phys_alloc_freelist_pages(int flind, int pool, int order)
{
#if VM_NDOMAIN > 1
#if MAXMEMDOM > 1
vm_page_t m;
int i, ndomains;
#endif
@ -477,7 +477,7 @@ vm_phys_alloc_freelist_pages(int flind, int pool, int order)
KASSERT(order < VM_NFREEORDER,
("vm_phys_alloc_freelist_pages: order %d is out of range", order));
#if VM_NDOMAIN > 1
#if MAXMEMDOM > 1
/*
* This routine expects to be called with a VM_FREELIST_* constant.
* On a system with multiple domains we need to adjust the flind