diff options
author | jhb <jhb@FreeBSD.org> | 2007-03-06 17:16:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-03-06 17:16:47 +0000 |
commit | 432a1d8db500d646851a9158c0bf0e7df4ca5855 (patch) | |
tree | 7d449fe1c2cd369c1d96d20251aea25b4116a366 /sys/i386/include/intr_machdep.h | |
parent | b67850e4380a4cfabfe3e85e61cc3e3b0376683c (diff) | |
download | FreeBSD-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/intr_machdep.h')
-rw-r--r-- | sys/i386/include/intr_machdep.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/include/intr_machdep.h b/sys/i386/include/intr_machdep.h index 253027e..8d36436 100644 --- a/sys/i386/include/intr_machdep.h +++ b/sys/i386/include/intr_machdep.h @@ -128,9 +128,7 @@ enum intr_trigger elcr_read_trigger(u_int irq); void elcr_resume(void); void elcr_write_trigger(u_int irq, enum intr_trigger trigger); #ifdef SMP -void intr_add_cpu(u_int apic_id); -#else -#define intr_add_cpu(apic_id) +void intr_add_cpu(u_int cpu); #endif int intr_add_handler(const char *name, int vector, driver_filter_t filter, driver_intr_t handler, void *arg, enum intr_type flags, void **cookiep); |