remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
authorEric DeVolder <eric.devolder@oracle.com>
Wed, 2 Aug 2023 16:17:50 +0000 (12:17 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:18:55 +0000 (10:18 -0700)
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.

Link: https://lkml.kernel.org/r/20230802161750.2215-1-eric.devolder@oracle.com
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/s390/Kconfig
kernel/Kconfig.kexec

index ab72321..4d011f7 100644 (file)
@@ -245,9 +245,6 @@ config PGTABLE_LEVELS
 
 source "kernel/livepatch/Kconfig"
 
-config ARCH_DEFAULT_KEXEC
-       def_bool y
-
 config ARCH_SUPPORTS_KEXEC
        def_bool y
 
index ff72e45..701cd53 100644 (file)
@@ -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