From: Chris Metcalf Date: Wed, 15 Sep 2010 15:17:05 +0000 (-0400) Subject: arch/tile: fix formatting bug in register dumps X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7040dea4d2a0609241c7a98a944b7c432c69db2e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index c37b6e3873c..84c29111756 100644 --- 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],