diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-17 10:09:35 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 16:25:17 +1100 |
commit | 02af87a74271977d09ece9b709909dcae3f9fab9 (patch) | |
tree | 3bbbe3db68e050d3d2e46529a91d9452c6d79490 /include/linux/rslib.h | |
parent | 1edda9c795b99c3761715a73f62a78fce41a1f1d (diff) |
powerpc/kdump: Use ppc_save_regs() in crash_setup_regs()
The patch replaces internal registers dump implementation with
ppc_save_regs(). From now on PPC64 and PPC32 are using the same
code for crash_setup_regs().
NOTE: The old regs dump implementation was capturing SP (r1) directly
as is, so you could see crash_kexec() function on top of the back-trace.
But ppc_save_regs() goes up one stack frame, so you'll not see it
anymore, at the top-level you'll see who actually triggered the crash
dump instead.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/rslib.h')
0 files changed, 0 insertions, 0 deletions