aboutsummaryrefslogtreecommitdiff
path: root/lib/libmemstat
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-05-01 00:48:03 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-05-01 00:48:03 +0000
commit77bdc950f42f761af239dbb5aca147f912f0d382 (patch)
tree43b6fa042cd2f9c6b475b3594c470d0aac2da895 /lib/libmemstat
parenta4823f2d0c26aa9cb1da6c38ce333f2371eba471 (diff)
parent60658a3a55a374ae885a4ad0c0e48fd43e716d55 (diff)
Notes
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 e973f1a52db4..bc1a336a5d77 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