summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_phys.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-05-08 10:55:39 +0000
committerattilio <attilio@FreeBSD.org>2013-05-08 10:55:39 +0000
commitc549d43cb1827248763baa2ab07b68938e1013cf (patch)
tree21a49f2eb9e025e949ad219b01061e83498f0cb9 /sys/vm/vm_phys.c
parented41ecad2bb3a217eb559e568890c95769bd9d23 (diff)
downloadFreeBSD-src-c549d43cb1827248763baa2ab07b68938e1013cf.zip
FreeBSD-src-c549d43cb1827248763baa2ab07b68938e1013cf.tar.gz
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
Diffstat (limited to 'sys/vm/vm_phys.c')
-rw-r--r--sys/vm/vm_phys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
index 50ab556..1f437e8 100644
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -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
OpenPOWER on IntegriCloud