]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Rewrite exception stack backtracing
authorAndi Kleen <ak@suse.de>
Sat, 16 Apr 2005 22:25:17 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:17 +0000 (15:25 -0700)
commit76e7d6f68fac08d0cf047b996ede177b5dae2e1d
treee0f24a30f0f088c59537c5314af7c98f2c69b052
parent409f15c21582ccb96474fa7e45782fe9c7fe0dd5
[PATCH] x86_64: Rewrite exception stack backtracing

Exceptions and hardware interrupts can, to a certain degree, nest, so when
attempting to follow the sequence of stacks used in order to dump their
contents this has to be accounted for.  Also, IST stacks have their tops
stored in the TSS, so there's no need to add the stack size to get to their
ends.

Minor changes from AK.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c