| Submitter | Anton Blanchard |
|---|---|
| Date | Jan. 12, 2011, 5:44 a.m. |
| Message ID | <20110112164430.5ac00b94@kryten> |
| Download | mbox | patch |
| Permalink | /patch/78504/ |
| State | Accepted |
| Commit | 7071854bb248926b85141d791f9fa17901a6fa4b |
| Delegated to: | Benjamin Herrenschmidt |
| Headers | show |
Comments
Patch
Index: powerpc.git/arch/powerpc/kernel/process.c =================================================================== --- powerpc.git.orig/arch/powerpc/kernel/process.c 2010-10-15 13:23:24.911164446 +1100 +++ powerpc.git/arch/powerpc/kernel/process.c 2010-10-15 13:23:28.611206248 +1100 @@ -631,7 +631,7 @@ void show_regs(struct pt_regs * regs) #ifdef CONFIG_PPC_ADV_DEBUG_REGS printk("DEAR: "REG", ESR: "REG"\n", regs->dar, regs->dsisr); #else - printk("DAR: "REG", DSISR: "REG"\n", regs->dar, regs->dsisr); + printk("DAR: "REG", DSISR: %08lx\n", regs->dar, regs->dsisr); #endif printk("TASK = %p[%d] '%s' THREAD: %p", current, task_pid_nr(current), current->comm, task_thread_info(current));
We were printing 64 bits of DSISR in show_regs even though it is 32 bit. Signed-off-by: Anton Blanchard <anton@samba.org> ---