summaryrefslogtreecommitdiffstats
path: root/sys/mips/mips/mp_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/mips/mp_machdep.c')
-rw-r--r--sys/mips/mips/mp_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/mips/mp_machdep.c b/sys/mips/mips/mp_machdep.c
index eb36d6f..289c0a7 100644
--- a/sys/mips/mips/mp_machdep.c
+++ b/sys/mips/mips/mp_machdep.c
@@ -205,7 +205,7 @@ cpu_mp_setmaxid(void)
cpuset_t cpumask;
int cpu, last;
- cpumask = platform_cpu_mask();
+ platform_cpu_mask(&cpumask);
mp_ncpus = 0;
last = 1;
while ((cpu = cpusetobj_ffs(&cpumask)) != 0) {
@@ -247,7 +247,7 @@ cpu_mp_start(void)
mtx_init(&ap_boot_mtx, "ap boot", NULL, MTX_SPIN);
CPU_ZERO(&all_cpus);
- cpumask = platform_cpu_mask();
+ platform_cpu_mask(&cpumask);
while (!CPU_EMPTY(&cpumask)) {
cpuid = cpusetobj_ffs(&cpumask) - 1;
OpenPOWER on IntegriCloud