i386 - Get completely rid of APIC_IO
[dragonfly.git] / sys / platform / pc32 / apic / apic_abi.c
index a6efefe..3a08bc9 100644 (file)
@@ -59,7 +59,7 @@
 
 #include "apic_ipl.h"
 
-#ifdef APIC_IO
+#ifdef SMP /* APIC-IO */
 
 extern void APIC_INTREN(int);
 extern void APIC_INTRDIS(int);
@@ -109,7 +109,7 @@ static inthand_t *apic_fastintr[APIC_HWI_VECTORS] = {
 
 static int apic_imcr_present;
 
-struct machintr_abi MachIntrABI = {
+struct machintr_abi MachIntrABI_APIC = {
        MACHINTR_APIC,
        .intrdis =      APIC_INTRDIS,
        .intren =       APIC_INTREN,