summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/ipic.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-12-18 16:33:36 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-12-19 13:09:40 +1100
commit182dc9c7f217146d69d9c0b75c150c0314b9b170 (patch)
tree722ab1552bf89d3a2d9efbddfc2f696cf25281ba /arch/powerpc/sysdev/ipic.c
parent110df8bd3e418b3476cae80babe8add48a8ea523 (diff)
powerpc/kernel: Print actual address of regs when oopsing
When we oops or otherwise call show_regs() we print the address of the regs structure. Being able to see the address is fairly useful, firstly to verify that the regs pointer is not completely bogus, and secondly it allows you to dump the regs and surrounding memory with a debugger if you have one. In the normal case the regs will be located somewhere on the stack, so printing their location discloses no further information than printing the stack pointer does already. So switch to %px and print the actual address, not the hashed value. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/ipic.c')
0 files changed, 0 insertions, 0 deletions