• J
    xtensa: use correct stack pointer for stack traces · 28a0ce7f
    Johannes Weiner 提交于
    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: NJohannes Weiner <jw@emlix.com>
    Signed-off-by: NChris Zankel <chris@zankel.net>
    28a0ce7f
traps.c 12.0 KB