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

AKASHI Takahiro takahiro.akashi at linaro.org
Thu Sep 7 19:31:17 PDT 2017


On Fri, Aug 25, 2017 at 01:47:49PM +0800, Dave Young wrote:
> 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.

Sure

-Takahiro AKASHI

> Thanks
> Dave



More information about the kexec mailing list