riscv: Cleanup stacktrace

1. add asm/stacktrace.h for walk_stackframe and struct stackframe
2. remove unnecessary blank lines in stacktrace.c
3. fix warning "no previous prototype for ‘fill_callchain’"

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Kefeng Wang 2020-11-13 14:42:21 +08:00 • committed by Palmer Dabbelt
commit 99c168fccb
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 21 additions and 15 deletions