riscv: Improve __show_regs
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 Jan 2021 12:40:13 +0000 (20:40 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 14 Jan 2021 23:09:12 +0000 (15:09 -0800)
commitda401e89453266c11277b42e007159a2b6ef82d3
treecc56934dd597289be5e2679fade63de28a90519a
parent091b9450858ecd60eeb5a14231db07071d24875f
riscv: Improve __show_regs

Show the function symbols of epc and ra to improve the
readability of crash reports, and align the printing
formats about the raw epc value.

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