powerpc: Prepare xmon_save_regs for use with kdump
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 17 Dec 2008 10:08:55 +0000 (10:08 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 23 Dec 2008 04:13:28 +0000 (15:13 +1100)
commit322b439455ea62e6480e300c77b258e872896381
treef79b7ac590f7a9448915ffb12a5188ed3b309f49
parent5be8554875bf3a1a42b7f04d5999b36e7c2fa88b
powerpc: Prepare xmon_save_regs for use with kdump

Today the arch/powerpc/xmon/setjmp.S file contains only the
xmon_save_regs function.  We want to use it for kdump purposes, so
let's move the file into arch/powerpc/kernel/ and give the function a
more generic name (ppc_save_regs).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/ppc_save_regs.S [new file with mode: 0644]
arch/powerpc/xmon/Makefile
arch/powerpc/xmon/setjmp.S [deleted file]
arch/powerpc/xmon/xmon.c