Commit 7040dea4 authored by Chris Metcalf's avatar Chris Metcalf

arch/tile: fix formatting bug in register dumps

This cut-and-paste bug was caused by rewriting the register dump
code to use only a single printk per line of output.
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent 0fab59e5
...@@ -667,7 +667,7 @@ void show_regs(struct pt_regs *regs) ...@@ -667,7 +667,7 @@ void show_regs(struct pt_regs *regs)
regs->regs[51], regs->regs[52], regs->tp); regs->regs[51], regs->regs[52], regs->tp);
pr_err(" sp : "REGFMT" lr : "REGFMT"\n", regs->sp, regs->lr); pr_err(" sp : "REGFMT" lr : "REGFMT"\n", regs->sp, regs->lr);
#else #else
for (i = 0; i < 52; i += 3) for (i = 0; i < 52; i += 4)
pr_err(" r%-2d: "REGFMT" r%-2d: "REGFMT pr_err(" r%-2d: "REGFMT" r%-2d: "REGFMT
" r%-2d: "REGFMT" r%-2d: "REGFMT"\n", " r%-2d: "REGFMT" r%-2d: "REGFMT"\n",
i, regs->regs[i], i+1, regs->regs[i+1], i, regs->regs[i], i+1, regs->regs[i+1],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment