Skip to content

Commit

Permalink
x86: APIC/SMP: Downgrade the NMI watchdog for "noapic"
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 "noapic".  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 d54db1a commit d788bad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-x86/mach-default/smpboot_hooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ static inline void __init smpboot_setup_io_apic(void)
*/
if (!skip_ioapic_setup && nr_ioapics)
setup_IO_APIC();
else
else {
nr_ioapics = 0;
localise_nmi_watchdog();
}
}

static inline void smpboot_clear_io_apic(void)
Expand Down

0 comments on commit d788bad

Please sign in to comment.