OpenCloudOS-Kernel/arch/powerpc
Anton Vorontsov 02af87a742 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>
2009-01-08 16:25:17 +11:00
..
boot powerpc: Copy bootable images in the default install script 2009-01-08 16:25:09 +11:00
configs powerpc/85xx: Add SMP support to MPC8572 DS 2008-12-30 11:30:42 -06:00
include/asm powerpc/kdump: Use ppc_save_regs() in crash_setup_regs() 2009-01-08 16:25:17 +11:00
kernel powerpc: Export cacheable_memzero as its now used in a driver 2009-01-08 16:25:17 +11:00
kvm KVM: Consolidate userspace memory capability reporting into common code 2008-12-31 16:55:46 +02:00
lib Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-12-28 16:54:33 -08:00
math-emu powerpc: Add SPE/EFP math emulation for E500v1/v2 processors. 2008-12-03 08:19:16 -06:00
mm powerpc: Fix missing semicolons in mmu_decl.h 2009-01-08 16:25:17 +11:00
oprofile trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
platforms powerpc/pasemi: local_irq_save uses an unsigned long 2009-01-08 16:25:17 +11:00
sysdev Merge commit 'origin/master' into next 2009-01-08 16:24:38 +11:00
xmon powerpc: Prepare xmon_save_regs for use with kdump 2008-12-23 15:13:28 +11:00
Kconfig powerpc: Enable RELOCATABLE option for CRASH_DUMP 2009-01-08 16:25:14 +11:00
Kconfig.debug powerpc: Allow the max stack trace depth to be configured 2008-12-03 20:46:35 +11:00
Makefile powerpc: Remove unncessary SPE related compiler flag 2008-12-03 08:19:10 -06:00