diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-12-18 16:33:36 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-12-19 13:09:40 +1100 |
commit | 182dc9c7f217146d69d9c0b75c150c0314b9b170 (patch) | |
tree | 722ab1552bf89d3a2d9efbddfc2f696cf25281ba /arch/h8300/include | |
parent | 110df8bd3e418b3476cae80babe8add48a8ea523 (diff) | |
download | linux-182dc9c7f217146d69d9c0b75c150c0314b9b170.tar.bz2 |
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/h8300/include')
0 files changed, 0 insertions, 0 deletions