From cf9c204572b33c27e35e696f54133ec1848e9d02 Mon Sep 17 00:00:00 2001 From: attilio Date: Sun, 8 May 2011 14:23:21 +0000 Subject: - Fix a typo - Fix an inversion in the logic --- sys/sparc64/sparc64/mp_machdep.c | 2 +- sys/sparc64/sparc64/pmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/sparc64') diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index 9bee247..9055d8b 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 22393a0..49eeae6 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 -- cgit v1.1