[PATCH] kdump: NMI handler segment selector, stack pointer fix
authorVivek Goyal <vgoyal@in.ibm.com>
Sat, 25 Jun 2005 21:58:13 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:52 +0000 (16:24 -0700)
commit4d55476c3f889e0f30d88e22da4682b5f10394ff
tree097c222aea3243596762e7c3b0fa02ba94d60fde
parent625f1c8219d95300ed32e4c67eb62a50ded095ba
[PATCH] kdump: NMI handler segment selector, stack pointer fix

CPU does not save ss and esp on stack if execution was already in kernel mode
at the time of NMI occurrence.  This leads to saving of erractic values for ss
and esp.  This patch fixes the issue.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/crash.c