x86: enable NMI watchdog on nosmp
authorIngo Molnar <mingo@elte.hu>
Wed, 17 Oct 2007 16:04:34 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:15:35 +0000 (20:15 +0200)
commit3fb450a327fc098efe6c9f000d470abac354cfcc
tree5e8edbbc4b743a797253340bd96000049dbd12ff
parent2f62c94176af875f22ecd01887a550d5d48092fc
x86: enable NMI watchdog on nosmp

if nosmp has been passed as a boot option, but nmi_watchdog=2 has also
been enabled then keep minimal local APIC functionality around to make
the watchdog work.

this allowed me to debug a hard hang that would only occur with a nosmp
bootup.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/smpboot_32.c