diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-08 14:23:21 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-08 14:23:21 +0000 |
commit | cf9c204572b33c27e35e696f54133ec1848e9d02 (patch) | |
tree | 264560b68ea5f5cc03c2ed6cae926be0ee4d23de /sys/sparc64 | |
parent | c4bfd6e6a0b17327594355e2f9784702882de234 (diff) | |
download | FreeBSD-src-cf9c204572b33c27e35e696f54133ec1848e9d02.zip FreeBSD-src-cf9c204572b33c27e35e696f54133ec1848e9d02.tar.gz |
- Fix a typo
- Fix an inversion in the logic
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 2 | ||||
-rw-r--r-- | 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 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 |