diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2013-05-07 22:46:24 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2013-05-07 22:46:24 +0000 |
commit | 941646f5ec5d89c10dbc9a0ff3b412b52ae74002 (patch) | |
tree | c6aaa29a3a53aeb1e8a30aaca92924124e0457e3 /sys/sparc64/include | |
parent | 168ba1089a07d90cb90d8ea6386e9533ec7f5af0 (diff) | |
download | src-941646f5ec5d89c10dbc9a0ff3b412b52ae74002.tar.gz src-941646f5ec5d89c10dbc9a0ff3b412b52ae74002.zip |
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
Notes
Notes:
svn path=/head/; revision=250338
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/param.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/vmparam.h | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h index 66bb30451306..e59f2c49b84b 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 a5ed2456a259..3cd744cb912c 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 |