diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index 9bee247d0605..9055d8b520b4 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -497,7 +497,7 @@ cpu_mp_shutdown(void) shutdown_cpus = PCPU_GET(other_cpus); cpus = shutdown_cpus; - /* XXX: Stopp all the CPUs which aren't already. */ + /* XXX: Stop all the CPUs which aren't already. */ if (CPU_CMP(&stopped_cpus, &cpus)) { /* pc_other_cpus is just a flat "on" mask without curcpu. */ diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 22393a0802ba..49eeae6b6ba6 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -664,7 +664,7 @@ pmap_bootstrap(u_int cpu_impl) pm = kernel_pmap; for (i = 0; i < MAXCPU; i++) pm->pm_context[i] = TLB_CTX_KERNEL; - CPU_ZERO(&pm->pm_active); + CPU_FILL(&pm->pm_active); /* * Flush all non-locked TLB entries possibly left over by the