Re: [RFC PATCH 4/5] arm64: mm: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef

From: Catalin Marinas
Date: Fri Dec 03 2021 - 14:18:43 EST


On Fri, Dec 03, 2021 at 01:11:56PM +0800, Jisheng Zhang wrote:
> Replace the conditional compilation using "#ifdef CONFIG_KEXEC_CORE"
> by a check for "IS_ENABLED(CONFIG_BLK_DEV_INITRD)", to simplify the
> code and increase compile coverage.
>
> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>

As long as it still compiles:

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>