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