From c81c0cf196de308376596e2264e84eec13d07934 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Sun, 6 Apr 2003 18:17:31 +0000 Subject: Make the pmap stats writeable. It can be useful to clear them. --- sys/sparc64/include/pmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index a5fddf1dfa8c..4bfa258dafdb 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) \ -- cgit v1.3