summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-05-07 22:46:24 +0000
committerattilio <attilio@FreeBSD.org>2013-05-07 22:46:24 +0000
commitb24a52ec9e4e733ae0b5b5932af72cf6fc7d5752 (patch)
treec6aaa29a3a53aeb1e8a30aaca92924124e0457e3 /sys/sparc64/include
parentdda6e068736ebb6565141c87715edf0526db5390 (diff)
downloadFreeBSD-src-b24a52ec9e4e733ae0b5b5932af72cf6fc7d5752.zip
FreeBSD-src-b24a52ec9e4e733ae0b5b5932af72cf6fc7d5752.tar.gz
Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in
order to match the MAXCPU concept. The change should also be useful for consolidation and consistency. Sponsored by: EMC / Isilon storage division Obtained from: jeff Reviewed by: alc
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/param.h4
-rw-r--r--sys/sparc64/include/vmparam.h7
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index 66bb304..e59f2c4 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -57,6 +57,10 @@
#define MAXCPU 1
#endif /* SMP || KLD_MODULE */
+#ifndef MAXMEMDOM
+#define MAXMEMDOM 1
+#endif
+
#define INT_SHIFT 2
#define PTR_SHIFT 3
diff --git a/sys/sparc64/include/vmparam.h b/sys/sparc64/include/vmparam.h
index a5ed245..3cd744c 100644
--- a/sys/sparc64/include/vmparam.h
+++ b/sys/sparc64/include/vmparam.h
@@ -106,13 +106,6 @@
#define VM_NFREEORDER 12
/*
- * Only one memory domain.
- */
-#ifndef VM_NDOMAIN
-#define VM_NDOMAIN 1
-#endif
-
-/*
* Enable superpage reservations: 1 level.
*/
#ifndef VM_NRESERVLEVEL
OpenPOWER on IntegriCloud