diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-12-09 17:07:20 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 23:15:38 +0800 |
commit | 8f4f1639a19db231e4579612dbc6d147e8d07ffd (patch) | |
tree | bf03bf0acfbd3467ec7cbf0ee0f206542dd424cf /arch/csky/mm | |
parent | 0ea2dc7cd668be5475babecaf6fdeaa464e2847b (diff) |
csky: optimize kernel panic print.
Use STACKTRACE to optimize panic print more pretty and align registers
printing.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/mm')
-rw-r--r-- | arch/csky/mm/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/csky/mm/fault.c b/arch/csky/mm/fault.c index 7df57f90b52c..6a946614cc47 100644 --- a/arch/csky/mm/fault.c +++ b/arch/csky/mm/fault.c @@ -188,8 +188,8 @@ no_context: * terminate things with extreme prejudice. */ bust_spinlocks(1); - pr_alert("Unable to %s at vaddr: %08lx, epc: %08lx\n", - __func__, address, regs->pc); + pr_alert("Unable to handle kernel paging request at virtual " + "address 0x%08lx, pc: 0x%08lx\n", address, regs->pc); die_if_kernel("Oops", regs, write); out_of_memory: |