diff options
author | peter <peter@FreeBSD.org> | 2002-01-05 09:41:37 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-01-05 09:41:37 +0000 |
commit | b19d3ea0e21b0dc767f57b08497f4dcc4bcd9bda (patch) | |
tree | 20b88f57275b83dc0c9ea9823c18ec1a663b2438 /sys/amd64/include | |
parent | 5e902a48f6ffa366d3573e7e7b3c571d7f384c9b (diff) | |
download | FreeBSD-src-b19d3ea0e21b0dc767f57b08497f4dcc4bcd9bda.zip FreeBSD-src-b19d3ea0e21b0dc767f57b08497f4dcc4bcd9bda.tar.gz |
Convert a bunch of 1 << PCPU_GET(cpuid) to PCPU_GET(cpumask).
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/mptable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 1feb66a..f4f9c52 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -1992,7 +1992,7 @@ start_all_aps(u_int boot_addr) } /* build our map of 'other' CPUs */ - PCPU_SET(other_cpus, all_cpus & ~(1 << PCPU_GET(cpuid))); + PCPU_SET(other_cpus, all_cpus & ~PCPU_GET(cpumask)); /* fill in our (BSP) APIC version */ cpu_apic_versions[0] = lapic.version; @@ -2268,7 +2268,7 @@ ap_init(void) smp_cpus++; /* Build our map of 'other' CPUs. */ - PCPU_SET(other_cpus, all_cpus & ~(1 << PCPU_GET(cpuid))); + PCPU_SET(other_cpus, all_cpus & ~PCPU_GET(cpumask)); printf("SMP: AP CPU #%d Launched!\n", PCPU_GET(cpuid)); |