projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fab59e
)
arch/tile: fix formatting bug in register dumps
author
Chris Metcalf
<cmetcalf@tilera.com>
Wed, 15 Sep 2010 15:17:05 +0000
(11:17 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Wed, 15 Sep 2010 15:17:05 +0000
(11:17 -0400)
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: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/process.c
b/arch/tile/kernel/process.c
index c37b6e3873c170e9821be7442d9aafe0e3f013d0..84c29111756c2212f02cd5bc841691c1cc0a0fd9 100644
(file)
--- a/
arch/tile/kernel/process.c
+++ b/
arch/tile/kernel/process.c
@@
-667,7
+667,7
@@
void show_regs(struct pt_regs *regs)
regs->regs[51], regs->regs[52], regs->tp);
pr_err(" sp : "REGFMT" lr : "REGFMT"\n", regs->sp, regs->lr);
#else
- for (i = 0; i < 52; i +=
3
)
+ for (i = 0; i < 52; i +=
4
)
pr_err(" r%-2d: "REGFMT" r%-2d: "REGFMT
" r%-2d: "REGFMT" r%-2d: "REGFMT"\n",
i, regs->regs[i], i+1, regs->regs[i+1],