aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/param.h3
-rw-r--r--sys/alpha/include/pmap.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index 5a286f43df0b..d75b932dd00a 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -91,8 +91,9 @@
#include <machine/alpha_cpu.h>
#include <machine/cpu.h>
+#define MAXSMPCPU 8
#ifdef SMP
-#define MAXCPU 32
+#define MAXCPU MAXSMPCPU
#else
#define MAXCPU 1
#endif
diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h
index 01b29d571920..981bea34cece 100644
--- a/sys/alpha/include/pmap.h
+++ b/sys/alpha/include/pmap.h
@@ -177,7 +177,7 @@ struct pmap {
struct {
u_int32_t asn:ASN_BITS; /* address space number */
u_int32_t gen:ASNGEN_BITS; /* generation number */
- } pm_asn[MAXCPU];
+ } pm_asn[MAXSMPCPU];
struct pmap_statistics pm_stats; /* pmap statistics */
struct vm_page *pm_ptphint; /* pmap ptp hint */
LIST_ENTRY(pmap) pm_list; /* list of all pmaps. */