riscv: Make stack walk callback consistent with generic code
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 13 Nov 2020 06:42:22 +0000 (14:42 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 21 Nov 2020 02:53:38 +0000 (18:53 -0800)
commit9dd97064e21fc9cba391d4f4983aff4861a7cce8
tree7aafd010d454334a73f7dc26813b22837f2ee703
parent99c168fccbfedbc10ce1cb2dcb9eb790c478d833
riscv: Make stack walk callback consistent with generic code

In order to use generic arch_stack_walk() code, make stack walk
callback consistent with it.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/stacktrace.h
arch/riscv/kernel/perf_callchain.c
arch/riscv/kernel/stacktrace.c