Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 10:55:39 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250361 - head/sys/vm
Message-ID:  <201305081055.r48AtdtH064502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305081055.r48AtdtH064502>