From: Jesse Barnes Date: Mon, 21 Apr 2008 21:14:44 +0000 (-0700) Subject: x86: fix PCI MSI breaks when booting with nosmp X-Git-Tag: upstream/snapshot3+hdmi~25532^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e90955c26d8af318658c45caadb1d330ac6a506c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git x86: fix PCI MSI breaks when booting with nosmp set up sane APIC state even in the nosmp case. Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 04c662b..84241a2 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -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; }