From e6dc9246ccb8f0d3e55ea77a1aa59ef0587d8959 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 10 Sep 2003 01:36:48 +0000 Subject: Remove an XXX comment by using the per CPU mask added after this comment was added. --- sys/i386/include/mptable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/i386/include/mptable.h') 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); -- cgit v1.1