diff options
author | jhb <jhb@FreeBSD.org> | 2003-09-10 01:36:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-09-10 01:36:48 +0000 |
commit | e6dc9246ccb8f0d3e55ea77a1aa59ef0587d8959 (patch) | |
tree | 62491c2f5bd8188bed9279a9098048e114d29231 /sys | |
parent | b4d0f7315d7b127764bc50edd81eefb278232f6a (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 3 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 3 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 3 | ||||
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/mptable.c | 3 | ||||
-rw-r--r-- | sys/i386/include/mptable.h | 3 |
6 files changed, 6 insertions, 12 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 3c65b3b..a050d3c 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -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); diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 3c65b3b..a050d3c 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -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); diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 3c65b3b..a050d3c 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/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); diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 3c65b3b..a050d3c 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -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); diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 3c65b3b..a050d3c 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -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); 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); |