Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/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>

authored by

Eric DeVolder and committed by
Andrew Morton
95d1fef5 e6265fe7

-4
-3
arch/s390/Kconfig
··· 245 245 246 246 source "kernel/livepatch/Kconfig" 247 247 248 - config ARCH_DEFAULT_KEXEC 249 - def_bool y 250 - 251 248 config ARCH_SUPPORTS_KEXEC 252 249 def_bool y 253 250
-1
kernel/Kconfig.kexec
··· 17 17 18 18 config KEXEC 19 19 bool "Enable kexec system call" 20 - default ARCH_DEFAULT_KEXEC 21 20 depends on ARCH_SUPPORTS_KEXEC 22 21 select KEXEC_CORE 23 22 help