svn commit: r250361 - head/sys/vm

Attilio Rao attilio at FreeBSD.org
Wed May 8 10:55:39 UTC 2013


Author: attilio
Date: Wed May  8 10:55:39 2013
New Revision: 250361
URL: http://svnweb.freebsd.org/changeset/base/250361

Log:
  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

Modified:
  head/sys/vm/vm_phys.c

Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c	Wed May  8 10:53:17 2013	(r250360)
+++ head/sys/vm/vm_phys.c	Wed May  8 10:55:39 2013	(r250361)
@@ -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, 
 	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


More information about the svn-src-head mailing list