- Fix a typo

- Fix an inversion in the logic
This commit is contained in:
Attilio Rao 2011-05-08 14:23:21 +00:00
parent 9137d17cd9
commit c813ed5c36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/largeSMP/; revision=221661
2 changed files with 2 additions and 2 deletions

View File

@ -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. */

View File

@ -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