Skip to content

Commit

Permalink
remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Eric DeVolder authored and akpm00 committed Aug 18, 2023
1 parent e6265fe commit 95d1fef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion kernel/Kconfig.kexec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95d1fef

Please sign in to comment.