LoongArch: Fix Kconfig item and left code related to CRASH_CORE
authorBaoquan He <bhe@redhat.com>
Wed, 24 Apr 2024 04:36:07 +0000 (12:36 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 24 Apr 2024 04:36:07 +0000 (12:36 +0800)
commit697f3342477170bdf8759157bdc19c0b7b3e9d14
tree688e80e318082578302047f715a4282c0ece9076
parented30a4a51bb196781c8058073ea720133a65596f
LoongArch: Fix Kconfig item and left code related to CRASH_CORE

In commit 85fcde402db191b5 ("kexec: split crashkernel reservation code
out from crash_core.c"), crashkernel reservation code is split out from
crash_core.c, and add CRASH_RESERVE to control it. And also rename each
ARCH's <asm/crash_core.h> to <asm/crash_reserve.h> accordingly.

But the relevant part in LoongArch is missed. Do it now.

Fixes: 85fcde402db1 ("kexec: split crashkernel reservation code out from crash_core.c")
Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/Kconfig
arch/loongarch/include/asm/crash_reserve.h [moved from arch/loongarch/include/asm/crash_core.h with 75% similarity]