This patch is a minor cleanup to the series "refactor Kconfig to consolidate KEXEC and CRASH options". In that series, a new option ARCH_DEFAULT_KEXEC was introduced in order to obtain the equivalent behavior of s390 original Kconfig settings for KEXEC. As it turns out, this new option did not fully provide the equivalent behavior, rather a "select KEXEC" did. As such, the ARCH_DEFAULT_KEXEC is not needed anymore, so remove it. Signed-off-by: Eric DeVolder <eric.devolder@xxxxxxxxxx> --- arch/s390/Kconfig | 3 --- kernel/Kconfig.kexec | 1 - 2 files changed, 4 deletions(-) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 42c98931de2c..c9e523e0d997 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -246,9 +246,6 @@ config PGTABLE_LEVELS source "kernel/livepatch/Kconfig" -config ARCH_DEFAULT_KEXEC - def_bool y - config ARCH_SUPPORTS_KEXEC def_bool y diff --git a/kernel/Kconfig.kexec b/kernel/Kconfig.kexec index ff72e45cfaef..701cd5336f4f 100644 --- a/kernel/Kconfig.kexec +++ b/kernel/Kconfig.kexec @@ -17,7 +17,6 @@ config HAVE_IMA_KEXEC config KEXEC bool "Enable kexec system call" - default ARCH_DEFAULT_KEXEC depends on ARCH_SUPPORTS_KEXEC select KEXEC_CORE help -- 2.31.1