diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-06-06 04:28:02 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 09:13:19 +0200 |
commit | d54db1ac9ecde9bcb8a561595b02c1d970d3a4d6 (patch) | |
tree | 31e92132009031f3bce071afe3db11b6a0e0f1c6 /arch/x86/kernel/smpboot.c | |
parent | x86: APIC/UP: Remove redundant NMI watchdog downgrade (diff) | |
download | linux-d54db1ac9ecde9bcb8a561595b02c1d970d3a4d6.tar.xz linux-d54db1ac9ecde9bcb8a561595b02c1d970d3a4d6.zip |
x86: APIC/SMP: Downgrade the NMI watchdog for "nosmp"
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>
Diffstat (limited to '')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 8c53d86e3e86..f3760349c84f 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -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 |