From: Johannes Weiner Date: Wed, 4 Mar 2009 15:21:29 +0000 (+0100) Subject: xtensa: use correct stack pointer for stack traces X-Git-Tag: v2.6.30-rc1~221^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a0ce7f642f503dde866f763e8144a517fdf74a;p=pandora-kernel.git 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 Signed-off-by: Chris Zankel --- Reading git-diff-tree failed