Skip to content

Commit

Permalink
x86: fix PCI MSI breaks when booting with nosmp
Browse files Browse the repository at this point in the history
set up sane APIC state even in the nosmp case.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jesse Barnes authored and Ingo Molnar committed Apr 29, 2008
1 parent 9752082 commit e90955c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e90955c

Please sign in to comment.