-
由 Wu Liliu 提交于
Sunway inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5GFQ0 -------------------------------- It used to show stack information by SP, that means it has nothing to do with task, which is unexpected. In order to show stack of task, we improve the implementation of show_stack(). However, the original task struct does not have sp, so we add it into thread_struct and do something necessary in __switch_to. Meanwhile, walk_stackframe() can be reused, so refactor related codes for better support. Signed-off-by: NWu Liliu <wuliliu@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
0115f679