From: Anton Vorontsov Date: Wed, 17 Dec 2008 10:09:35 +0000 (+0000) Subject: powerpc/kdump: Use ppc_save_regs() in crash_setup_regs() X-Git-Tag: v2.6.29-rc1~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02af87a74271977d09ece9b709909dcae3f9fab9;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed