Skip to content

Commit

Permalink
x86: APIC/SMP: Downgrade the NMI watchdog for "nosmp"
Browse files Browse the repository at this point in the history
 If configured to use the I/O APIC, the NMI watchdog is deemed to fail if
the chip has been deactivated as a result of "nosmp".  Downgrade to the
local APIC watchdog similarly to what is done for the UP case.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Maciej W. Rozycki authored and Ingo Molnar committed Jul 8, 2008
1 parent 1966202 commit d54db1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,9 @@ static int __init smp_sanity_check(unsigned max_cpus)
if (!max_cpus) {
printk(KERN_INFO "SMP mode deactivated.\n");
smpboot_clear_io_apic();

localise_nmi_watchdog();

#ifdef CONFIG_X86_32
connect_bsp_APIC();
#endif
Expand Down

0 comments on commit d54db1a

Please sign in to comment.