summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/mptable.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-09-10 01:36:48 +0000
committerjhb <jhb@FreeBSD.org>2003-09-10 01:36:48 +0000
commite6dc9246ccb8f0d3e55ea77a1aa59ef0587d8959 (patch)
tree62491c2f5bd8188bed9279a9098048e114d29231 /sys/i386/include/mptable.h
parentb4d0f7315d7b127764bc50edd81eefb278232f6a (diff)
downloadFreeBSD-src-e6dc9246ccb8f0d3e55ea77a1aa59ef0587d8959.zip
FreeBSD-src-e6dc9246ccb8f0d3e55ea77a1aa59ef0587d8959.tar.gz
Remove an XXX comment by using the per CPU mask added after this comment
was added.
Diffstat (limited to 'sys/i386/include/mptable.h')
-rw-r--r--sys/i386/include/mptable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index 3c65b3b..a050d3c 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -2462,8 +2462,7 @@ smp_targeted_tlb_shootdown(u_int mask, u_int vector, vm_offset_t addr1, vm_offse
if (ncpu < 1)
return;
} else {
- /* XXX there should be a pcpu self mask */
- mask &= ~(1 << PCPU_GET(cpuid));
+ mask &= ~PCPU_GET(cpumask);
if (mask == 0)
return;
ncpu = popcnt(mask);
OpenPOWER on IntegriCloud