]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix PCI MSI breaks when booting with nosmp
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 21 Apr 2008 21:14:44 +0000 (14:14 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 29 Apr 2008 11:45:24 +0000 (13:45 +0200)
set up sane APIC state even in the nosmp case.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c

index 04c662ba18f1dbf217326a9ffe2ade458617ee61..84241a256dc819bbb1f2fcaff679f189782f8564 100644 (file)
@@ -1149,14 +1149,10 @@ static int __init smp_sanity_check(unsigned max_cpus)
                                 "forcing use of dummy APIC emulation.\n");
                smpboot_clear_io_apic();
 #ifdef CONFIG_X86_32
-               if (nmi_watchdog == NMI_LOCAL_APIC) {
-                       printk(KERN_INFO "activating minimal APIC for"
-                                        "NMI watchdog use.\n");
-                       connect_bsp_APIC();
-                       setup_local_APIC();
-                       end_local_APIC_setup();
-               }
+               connect_bsp_APIC();
 #endif
+               setup_local_APIC();
+               end_local_APIC_setup();
                return -1;
        }