diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 3c8f9e75d038..593c4f8a8bb8 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -1863,7 +1863,7 @@ __apicdebuginit(int) print_all_ICs(void) | |||
1863 | print_PIC(); | 1863 | print_PIC(); |
1864 | 1864 | ||
1865 | /* don't print out if apic is not there */ | 1865 | /* don't print out if apic is not there */ |
1866 | if (!cpu_has_apic || disable_apic) | 1866 | if (!cpu_has_apic && !apic_from_smp_config()) |
1867 | return 0; | 1867 | return 0; |
1868 | 1868 | ||
1869 | print_all_local_APICs(); | 1869 | print_all_local_APICs(); |
@@ -1981,7 +1981,7 @@ void disable_IO_APIC(void) | |||
1981 | /* | 1981 | /* |
1982 | * Use virtual wire A mode when interrupt remapping is enabled. | 1982 | * Use virtual wire A mode when interrupt remapping is enabled. |
1983 | */ | 1983 | */ |
1984 | if (cpu_has_apic) | 1984 | if (cpu_has_apic || apic_from_smp_config()) |
1985 | disconnect_bsp_APIC(!intr_remapping_enabled && | 1985 | disconnect_bsp_APIC(!intr_remapping_enabled && |
1986 | ioapic_i8259.pin != -1); | 1986 | ioapic_i8259.pin != -1); |
1987 | } | 1987 | } |