Re: [RESEND PATCH v4 3/5] powerpc/fadump: remove dependency with CONFIG_KEXEC

From: Michael Ellerman
Date: Mon Mar 27 2017 - 06:46:23 EST


Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx> writes:

> Now that crashkernel parameter parsing and vmcoreinfo related code is
> moved under CONFIG_CRASH_CORE instead of CONFIG_KEXEC_CORE, remove
> dependency with CONFIG_KEXEC for CONFIG_FA_DUMP. While here, get rid
> of definitions of fadump_append_elf_note() & fadump_final_note()
> functions to reuse similar functions compiled under CONFIG_CRASH_CORE.
>
> Signed-off-by: Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Mahesh Salgaonkar <mahesh@xxxxxxxxxxxxxxxxxx>
> ---
> arch/powerpc/Kconfig | 10 ++++++----
> arch/powerpc/include/asm/fadump.h | 2 ++
> arch/powerpc/kernel/crash.c | 2 --
> arch/powerpc/kernel/fadump.c | 34 +++-------------------------------
> arch/powerpc/kernel/setup-common.c | 5 +++++
> 5 files changed, 16 insertions(+), 37 deletions(-)

Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>

cheers