From c813ed5c360c2ea7d82241fd0b0c914a3c4b6465 Mon Sep 17 00:00:00 2001 From: Attilio Rao Date: Sun, 8 May 2011 14:23:21 +0000 Subject: [PATCH] - 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(-) 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