linux-hardened/arch/xtensa
Johannes Weiner 28a0ce7f64 xtensa: use correct stack pointer for stack traces
Right now, the xtensa stacktrace code reads the _current_ kernel stack
pointer if nothing is supplied.  With debugging facilities like sysrq
this means that the backtrace of the sysrq-handler is printed instead
of a trace of the given task's stack.

When no stack pointer is specified in show_trace() and show_stack(),
use the stack pointer that comes with the handed in task descriptor to
make stack traces more useful.

Signed-off-by: Johannes Weiner <jw@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
2009-04-02 23:38:57 -07:00
..
boot xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
configs [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
include/asm xtensa: remove redefinition of XCHAL_MMU_ASID_BITS 2009-04-02 23:38:10 -07:00
kernel xtensa: use correct stack pointer for stack traces 2009-04-02 23:38:57 -07:00
lib xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
mm xtensa: fix compilation somewhat 2009-03-10 15:55:10 -07:00
platforms proc tty: switch xtensa iss console to ->proc_fops 2009-04-01 08:59:10 -07:00
variants xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
Kconfig xtensa: beat Kconfig into shape 2009-04-02 23:38:35 -07:00
Kconfig.debug [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 1 2005-06-24 00:05:21 -07:00
Makefile xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00