[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)
commit0a65800243742480b4b594b619b759749a3cfef4
tree72f9a3b376c604e7619ef265c7dc351644f45359
parent635186447d0e6f3b35895fda993a266a1315d2a7
[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