summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smp.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-06 17:16:47 +0000
committerjhb <jhb@FreeBSD.org>2007-03-06 17:16:47 +0000
commit432a1d8db500d646851a9158c0bf0e7df4ca5855 (patch)
tree7d449fe1c2cd369c1d96d20251aea25b4116a366 /sys/i386/include/smp.h
parentb67850e4380a4cfabfe3e85e61cc3e3b0376683c (diff)
downloadFreeBSD-src-432a1d8db500d646851a9158c0bf0e7df4ca5855.zip
FreeBSD-src-432a1d8db500d646851a9158c0bf0e7df4ca5855.tar.gz
Change the x86 interrupt code to use FreeBSD CPU IDs (i.e. PCPU_GET(cpuid))
rather than local APIC IDs to keep track of CPUs which can handle interrupts.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r--sys/i386/include/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index 6451a5c..7116b43 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -35,6 +35,7 @@ extern int mp_naps;
extern int boot_cpu_id;
extern struct pcb stoppcbs[];
extern struct mtx smp_tlb_mtx;
+extern int cpu_apic_ids[];
#ifdef COUNT_IPIS
extern u_long *ipi_invltlb_counts[MAXCPU];
extern u_long *ipi_invlrng_counts[MAXCPU];
OpenPOWER on IntegriCloud