[PATCH 2/2] riscv, kexec: fix dependency of two items
Randy Dunlap
rdunlap at infradead.org
Mon Dec 4 11:14:34 PST 2023
On 12/3/23 18:23, Baoquan He wrote:
> Drop the dependency on MMU from ARCH_SUPPORTS_KEXEC and
> ARCH_SUPPORTS_KEXEC_FILE because CONFIG_MMU could be disabled while
> people may still want to have KEXEC/KEXEC_FILE functionality.
>
> Signed-off-by: Baoquan He <bhe at redhat.com>
Tested-by: Randy Dunlap <rdunlap at infradead.org> # build-tested
Thanks.
> ---
> arch/riscv/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index 95a2a06acc6a..24c1799e2ec4 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -685,7 +685,7 @@ config RISCV_BOOT_SPINWAIT
> If unsure what to do here, say N.
>
> config ARCH_SUPPORTS_KEXEC
> - def_bool MMU
> + def_bool y
>
> config ARCH_SELECTS_KEXEC
> def_bool y
> @@ -693,7 +693,7 @@ config ARCH_SELECTS_KEXEC
> select HOTPLUG_CPU if SMP
>
> config ARCH_SUPPORTS_KEXEC_FILE
> - def_bool 64BIT && MMU
> + def_bool 64BIT
>
> config ARCH_SELECTS_KEXEC_FILE
> def_bool y
--
~Randy
More information about the kexec
mailing list