aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-06-05 22:28:02 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 03:13:19 -0400
commitd54db1ac9ecde9bcb8a561595b02c1d970d3a4d6 (patch)
tree31e92132009031f3bce071afe3db11b6a0e0f1c6 /arch/x86/kernel/smpboot.c
parent19662027488946e34dd54d3bb408fa3307681d7d (diff)
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 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c3
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)
1159 if (!max_cpus) { 1159 if (!max_cpus) {
1160 printk(KERN_INFO "SMP mode deactivated.\n"); 1160 printk(KERN_INFO "SMP mode deactivated.\n");
1161 smpboot_clear_io_apic(); 1161 smpboot_clear_io_apic();
1162
1163 localise_nmi_watchdog();
1164
1162#ifdef CONFIG_X86_32 1165#ifdef CONFIG_X86_32
1163 connect_bsp_APIC(); 1166 connect_bsp_APIC();
1164#endif 1167#endif