summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-11-23 21:37:04 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-11-23 21:37:04 +0000
commitca830b9a7466e5aa78f9174d58f12009a7e684e0 (patch)
tree8ee6a8c0608cad388118d1b0b9ff2299bdb503d9
parent7b0381568e4cb9762579fb4b223fe7740a7da527 (diff)
Notes
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index a23184d277d0..661c7bf28c4c 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -1612,7 +1612,7 @@ pv_to_chunk(pv_entry_t pv)
#define PC_FREE1 0xfffffffffffffffful
#define PC_FREE2 0x000000fffffffffful
-static uint64_t pc_freemask[3] = { PC_FREE0, PC_FREE1, PC_FREE2 };
+static uint64_t pc_freemask[_NPCM] = { PC_FREE0, PC_FREE1, PC_FREE2 };
SYSCTL_INT(_vm_pmap, OID_AUTO, pv_entry_count, CTLFLAG_RD, &pv_entry_count, 0,
"Current number of pv entries");