diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-09-15 11:17:05 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-09-15 11:17:05 -0400 |
commit | 7040dea4d2a0609241c7a98a944b7c432c69db2e (patch) | |
tree | dc333496a8cdb0b1a5e96f92995a8c09002d262e /arch/tile/kernel/process.c | |
parent | 0fab59e5ddb4e0557825e9ab8e41b66b5f336941 (diff) |
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: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/process.c')
-rw-r--r-- | arch/tile/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index c37b6e3873c1..84c29111756c 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c | |||
@@ -667,7 +667,7 @@ void show_regs(struct pt_regs *regs) | |||
667 | regs->regs[51], regs->regs[52], regs->tp); | 667 | regs->regs[51], regs->regs[52], regs->tp); |
668 | pr_err(" sp : "REGFMT" lr : "REGFMT"\n", regs->sp, regs->lr); | 668 | pr_err(" sp : "REGFMT" lr : "REGFMT"\n", regs->sp, regs->lr); |
669 | #else | 669 | #else |
670 | for (i = 0; i < 52; i += 3) | 670 | for (i = 0; i < 52; i += 4) |
671 | pr_err(" r%-2d: "REGFMT" r%-2d: "REGFMT | 671 | pr_err(" r%-2d: "REGFMT" r%-2d: "REGFMT |
672 | " r%-2d: "REGFMT" r%-2d: "REGFMT"\n", | 672 | " r%-2d: "REGFMT" r%-2d: "REGFMT"\n", |
673 | i, regs->regs[i], i+1, regs->regs[i+1], | 673 | i, regs->regs[i], i+1, regs->regs[i+1], |