Home
last modified time | relevance | path

Searched hist:"28 a0ce7f642f503dde866f763e8144a517fdf74a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/xtensa/kernel/
H A Dtraps.cdiff 28a0ce7f642f503dde866f763e8144a517fdf74a Wed Mar 04 09:21:29 CST 2009 Johannes Weiner <jw@emlix.com> 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>