summaryrefslogtreecommitdiffstats
path: root/lib/libmemstat
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-01 00:48:03 +0000
committerattilio <attilio@FreeBSD.org>2011-05-01 00:48:03 +0000
commitaf17c85a4bf5f663414797ca2d8f2d09d909170a (patch)
tree43b6fa042cd2f9c6b475b3594c470d0aac2da895 /lib/libmemstat
parentb55fd3d196536fe391b443cd24f7be3c4b5783ae (diff)
parent90956bed88796a8d94b4e56842b94e9d9c5a6b4d (diff)
downloadFreeBSD-src-af17c85a4bf5f663414797ca2d8f2d09d909170a.zip
FreeBSD-src-af17c85a4bf5f663414797ca2d8f2d09d909170a.tar.gz
MFC @ r221286
Diffstat (limited to 'lib/libmemstat')
-rw-r--r--lib/libmemstat/memstat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libmemstat/memstat.h b/lib/libmemstat/memstat.h
index e973f1a..bc1a336 100644
--- a/lib/libmemstat/memstat.h
+++ b/lib/libmemstat/memstat.h
@@ -29,11 +29,12 @@
#ifndef _MEMSTAT_H_
#define _MEMSTAT_H_
+#include <machine/param.h>
+
/*
- * Number of CPU slots in library-internal data structures. This should be
- * at least the value of MAXCPU from param.h.
+ * Number of CPU slots in library-internal data structures.
*/
-#define MEMSTAT_MAXCPU 32
+#define MEMSTAT_MAXCPU MAXCPU
/*
* Amount of caller data to maintain for each caller data slot. Applications
OpenPOWER on IntegriCloud