From b24a52ec9e4e733ae0b5b5932af72cf6fc7d5752 Mon Sep 17 00:00:00 2001 From: attilio Date: Tue, 7 May 2013 22:46:24 +0000 Subject: 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 --- sys/amd64/include/param.h | 4 ++++ sys/amd64/include/vmparam.h | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'sys/amd64/include') diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h index 9ddcf68..3d4722b 100644 --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -71,6 +71,10 @@ #define MAXCPU 1 #endif +#ifndef MAXMEMDOM +#define MAXMEMDOM 1 +#endif + #define ALIGNBYTES _ALIGNBYTES #define ALIGN(p) _ALIGN(p) /* diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h index e06fa39..33f62bd 100644 --- a/sys/amd64/include/vmparam.h +++ b/sys/amd64/include/vmparam.h @@ -121,13 +121,6 @@ #define VM_NFREEORDER 13 /* - * Only one memory domain. - */ -#ifndef VM_NDOMAIN -#define VM_NDOMAIN 1 -#endif - -/* * Enable superpage reservations: 1 level. */ #ifndef VM_NRESERVLEVEL -- cgit v1.1