aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2021-06-24 23:09:23 +0000
committerAlan Cox <alc@FreeBSD.org>2021-06-24 23:32:56 +0000
commitc94249decd16de71a00d837ee132954d9f259e49 (patch)
tree26b9a2a9ded79f709fd35f51be7d873bd335e305
parent66aec14a5391bda1e9a20f5e4381626797c3e0fb (diff)
downloadsrc-c94249decd16de71a00d837ee132954d9f259e49.tar.gz
src-c94249decd16de71a00d837ee132954d9f259e49.zip
arm64: make it possible to define PV_STATS
Remove an #if 0 that results in a compilation error if PV_STATS is defined. Aside from this #if 0, there is nothing wrong with the PV_STATS code. MFC after: 1 week
-rw-r--r--sys/arm64/arm64/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c
index bc3d4fd6446b..a6f716370810 100644
--- a/sys/arm64/arm64/pmap.c
+++ b/sys/arm64/arm64/pmap.c
@@ -2226,7 +2226,6 @@ pv_to_chunk(pv_entry_t pv)
static const uint64_t pc_freemask[_NPCM] = { PC_FREE0, PC_FREE1, PC_FREE2 };
-#if 0
#ifdef PV_STATS
static int pc_chunk_count, pc_chunk_allocs, pc_chunk_frees, pc_chunk_tryfail;
@@ -2251,7 +2250,6 @@ SYSCTL_LONG(_vm_pmap, OID_AUTO, pv_entry_count, CTLFLAG_RD, &pv_entry_count, 0,
SYSCTL_INT(_vm_pmap, OID_AUTO, pv_entry_spare, CTLFLAG_RD, &pv_entry_spare, 0,
"Current number of spare pv entries");
#endif
-#endif /* 0 */
/*
* We are in a serious low memory condition. Resort to