projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac4414e
)
powerpc: Print 32 bits of DSISR in show_regs
author
Anton Blanchard
<anton@samba.org>
Tue, 11 Jan 2011 19:44:30 +0000
(19:44 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:37 +0000
(14:08 +1100)
We were printing 64 bits of DSISR in show_regs even though it is 32 bit.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/process.c
b/arch/powerpc/kernel/process.c
index
84906d3
..
7a1d5cb
100644
(file)
--- a/
arch/powerpc/kernel/process.c
+++ b/
arch/powerpc/kernel/process.c
@@
-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));