diff options
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 29d0752d9517..b7a79207295e 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -2004,7 +2004,9 @@ void disable_IO_APIC(void) | |||
2004 | /* | 2004 | /* |
2005 | * Use virtual wire A mode when interrupt remapping is enabled. | 2005 | * Use virtual wire A mode when interrupt remapping is enabled. |
2006 | */ | 2006 | */ |
2007 | disconnect_bsp_APIC(!intr_remapping_enabled && ioapic_i8259.pin != -1); | 2007 | if (cpu_has_apic) |
2008 | disconnect_bsp_APIC(!intr_remapping_enabled && | ||
2009 | ioapic_i8259.pin != -1); | ||
2008 | } | 2010 | } |
2009 | 2011 | ||
2010 | #ifdef CONFIG_X86_32 | 2012 | #ifdef CONFIG_X86_32 |