aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r--arch/x86/kernel/apic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c
index 8bd801db24d9..b8616aaa168d 100644
--- a/arch/x86/kernel/apic.c
+++ b/arch/x86/kernel/apic.c
@@ -1646,19 +1646,19 @@ int __init APIC_init_uniprocessor(void)
1646 physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map); 1646 physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map);
1647 setup_local_APIC(); 1647 setup_local_APIC();
1648 1648
1649#ifdef CONFIG_X86_64 1649#ifdef CONFIG_X86_IO_APIC
1650 /* 1650 /*
1651 * Now enable IO-APICs, actually call clear_IO_APIC 1651 * Now enable IO-APICs, actually call clear_IO_APIC
1652 * We need clear_IO_APIC before enabling vector on BP 1652 * We need clear_IO_APIC before enabling vector on BP
1653 */ 1653 */
1654 if (!skip_ioapic_setup && nr_ioapics) 1654 if (!skip_ioapic_setup && nr_ioapics)
1655 enable_IO_APIC(); 1655 enable_IO_APIC();
1656#endif
1657 1656
1658#ifdef CONFIG_X86_IO_APIC
1659 if (!smp_found_config || skip_ioapic_setup || !nr_ioapics) 1657 if (!smp_found_config || skip_ioapic_setup || !nr_ioapics)
1660#endif
1661 localise_nmi_watchdog(); 1658 localise_nmi_watchdog();
1659#else
1660 localise_nmi_watchdog();
1661#endif
1662 end_local_APIC_setup(); 1662 end_local_APIC_setup();
1663 1663
1664#ifdef CONFIG_X86_IO_APIC 1664#ifdef CONFIG_X86_IO_APIC