[PATCH 05/14] kexec_file: factor out crashdump elf header function from x86

Dave Young dyoung at redhat.com
Thu Aug 24 22:47:49 PDT 2017


On 08/24/17 at 05:18pm, AKASHI Takahiro wrote:
> prepare_elf_headers() can also be useful for other architectures,
> including arm64. So let it factored out.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Cc: Dave Young <dyoung at redhat.com>
> Cc: Vivek Goyal <vgoyal at redhat.com>
> Cc: Baoquan He <bhe at redhat.com>
> ---
>  arch/x86/kernel/crash.c | 324 ----------------------------------------------
>  include/linux/kexec.h   |  19 +++
>  kernel/crash_core.c     | 333 ++++++++++++++++++++++++++++++++++++++++++++++++

It looks better to add these to kexec_file.c instead.

Thanks
Dave



More information about the linux-arm-kernel mailing list