]> err.no Git - linux-2.6/commitdiff
x86: APIC/SMP: Downgrade the NMI watchdog for "nosmp"
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 6 Jun 2008 02:28:02 +0000 (03:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:13:19 +0000 (09:13 +0200)
 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>
arch/x86/kernel/smpboot.c

index 8c53d86e3e86d1d8e6dac6407db57a791264c56d..f3760349c84f0ebb58a3e163800a95bb830ae07c 100644 (file)
@@ -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