loongarch/kexec: refactor for kernel/Kconfig.kexec
authorEric DeVolder <eric.devolder@oracle.com>
Wed, 12 Jul 2023 16:15:37 +0000 (12:15 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:18:53 +0000 (10:18 -0700)
commit19e6dd0b6196f6675c1ed9efac219cb724c018e6
tree269804c153d54a6cd8ecf6bb27a91b0c18cf3d88
parent91506f7e5d2142130f7407fca42c7a44a77eedfa
loongarch/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-7-eric.devolder@oracle.com
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/loongarch/Kconfig