- Fix a typo
- Fix an inversion in the logic
This commit is contained in:
parent
9137d17cd9
commit
c813ed5c36
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/largeSMP/; revision=221661
@ -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. */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user