summaryrefslogtreecommitdiffstats
path: root/sys/alpha/alpha/mp_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/alpha/mp_machdep.c')
-rw-r--r--sys/alpha/alpha/mp_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c
index 122daba..69170fc 100644
--- a/sys/alpha/alpha/mp_machdep.c
+++ b/sys/alpha/alpha/mp_machdep.c
@@ -60,9 +60,9 @@ volatile u_int started_cpus;
volatile u_int checkstate_probed_cpus;
volatile u_int checkstate_need_ast;
volatile u_int checkstate_pending_ast;
-struct proc* checkstate_curproc[NCPUS];
-int checkstate_cpustate[NCPUS];
-u_long checkstate_pc[NCPUS];
+struct proc* checkstate_curproc[MAXCPU];
+int checkstate_cpustate[MAXCPU];
+u_long checkstate_pc[MAXCPU];
volatile u_int resched_cpus;
void (*cpustop_restartfunc) __P((void));
int mp_ncpus;
@@ -71,7 +71,7 @@ int smp_started;
int boot_cpu_id;
u_int32_t all_cpus;
-static struct globaldata *cpuno_to_globaldata[NCPUS];
+static struct globaldata *cpuno_to_globaldata[MAXCPU];
int smp_active = 0; /* are the APs allowed to run? */
SYSCTL_INT(_machdep, OID_AUTO, smp_active, CTLFLAG_RW, &smp_active, 0, "");
OpenPOWER on IntegriCloud