x86/kexec: refactor for kernel/Kconfig.kexec
authorEric DeVolder <eric.devolder@oracle.com>
Wed, 12 Jul 2023 16:15:33 +0000 (12:15 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:18:52 +0000 (10:18 -0700)
commit6af513808300597850589a33e608c45e929f6b33
tree6c9514dc06b0b2caea82a5e8278d35c20b24f587
parent89cde455915f4611aa5dcf7d0286d88b48914b00
x86/kexec: refactor for kernel/Kconfig.kexec

The kexec and crash kernel options are provided in the common
kernel/Kconfig.kexec. Utilize the common options and provide
the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the
equivalent set of KEXEC and CRASH options.

Link: https://lkml.kernel.org/r/20230712161545.87870-3-eric.devolder@oracle.com
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/Kconfig