]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kexec: x86: snapshot registers during crash shutdown
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:57:59 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:49 +0000 (16:24 -0700)
commit08940113093f68c22eb95f9a4f82cb9a633e2c1c
treea5eb19193dcbf3b028ae90cb7969a38163b3ac21
parent26549c9e2df2164ef22039fcf4cc387166862be8
[PATCH] kexec: x86: snapshot registers during crash shutdown

After the kernel panics if we wish to generate an entire machine core file it
is very nice to know the register state at the time the machine crashed.

After long discussion it was realized that if you are going to be saving the
information anyway it is reasonable to store the information in a format that
it will be used and recognized in so the register state is stored in the
standard ELF note format.

Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/crash.c