]> err.no Git - linux-2.6/commit
[PATCH] x86: fix NMI with CPU hotplug
authorShaohua Li <shaohua.li@intel.com>
Mon, 12 Dec 2005 08:37:02 +0000 (00:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 16:57:42 +0000 (08:57 -0800)
commit82584ef75b7c14f22028595b0e8aa904464c5240
tree3f144ec21f06b0d2f57a67f0b543a42ae3dac5a4
parentb3e55c727ff7349c5db722fbdb8d99a151e8e0bf
[PATCH] x86: fix NMI with CPU hotplug

With CPU hotplug enabled, NMI watchdog stoped working.  It appears the
violation is the cpu_online check in nmi handler.  local ACPI based NMI
watchdog is initialized before we set CPU online for APs.  It's quite
possible a NMI is fired before we set CPU online, and that's what happens
here.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c