From: Liu Hua Date: Fri, 18 Apr 2014 06:45:36 +0000 (+0100) Subject: ARM: 8030/1: ARM : kdump : add arch_crash_save_vmcoreinfo X-Git-Tag: v3.10.39~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=674ae6c7b4048c35ce8f090657dd4e2e675bf0fa;p=platform%2Fkernel%2Flinux-3.10.git ARM: 8030/1: ARM : kdump : add arch_crash_save_vmcoreinfo commit 56b700fd6f1e49149880fb1b6ffee0dca5be45fb upstream. For vmcore generated by LPAE enabled kernel, user space utility such as crash needs additional infomation to parse. So this patch add arch_crash_save_vmcoreinfo as what PAE enabled i386 linux does. Reviewed-by: Will Deacon Signed-off-by: Liu Hua Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index 163b160..c3ef920 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c @@ -169,3 +169,10 @@ void machine_kexec(struct kimage *image) soft_restart(reboot_code_buffer_phys); } + +void arch_crash_save_vmcoreinfo(void) +{ +#ifdef CONFIG_ARM_LPAE + VMCOREINFO_CONFIG(ARM_LPAE); +#endif +}