aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric DeVolder <[email protected]>2023-08-02 12:17:50 -0400
committerAndrew Morton <[email protected]>2023-08-18 10:18:55 -0700
commit95d1fef53782eb409d4578ce6101d2a7b055351c (patch)
tree49c2b777110ea6e1cad4c660fe9130e90fa468b6
parente6265fe7775ec51241850abc854c9652d4709996 (diff)
remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
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/[email protected] Signed-off-by: Eric DeVolder <[email protected]> Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--arch/s390/Kconfig3
-rw-r--r--kernel/Kconfig.kexec1
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index ab723218c0fb..4d011f7c26e5 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -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
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