summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/pmap.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-06 18:17:31 +0000
committerjake <jake@FreeBSD.org>2003-04-06 18:17:31 +0000
commit2309ee0abd23862a46150d9ac3ee2836961eae3e (patch)
treeeee0e52350881ea2928632bb1836e314e8f4a7cc /sys/sparc64/include/pmap.h
parent13536dd031844ab0deed68effedad936689a7568 (diff)
downloadFreeBSD-src-2309ee0abd23862a46150d9ac3ee2836961eae3e.zip
FreeBSD-src-2309ee0abd23862a46150d9ac3ee2836961eae3e.tar.gz
Make the pmap stats writeable. It can be useful to clear them.
Diffstat (limited to 'sys/sparc64/include/pmap.h')
-rw-r--r--sys/sparc64/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h
index a5fddf1..4bfa258 100644
--- a/sys/sparc64/include/pmap.h
+++ b/sys/sparc64/include/pmap.h
@@ -117,7 +117,7 @@ SYSCTL_DECL(_debug_pmap_stats);
#define PMAP_STATS_VAR(name) \
static long name; \
- SYSCTL_LONG(_debug_pmap_stats, OID_AUTO, name, CTLFLAG_RD, \
+ SYSCTL_LONG(_debug_pmap_stats, OID_AUTO, name, CTLFLAG_RW, \
&name, 0, "")
#define PMAP_STATS_INC(var) \
OpenPOWER on IntegriCloud