Skip to content

Commit 697f334

Browse files
Baoquan Hechenhuacai
authored andcommitted
LoongArch: Fix Kconfig item and left code related to CRASH_CORE
In commit 85fcde4 ("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: 85fcde4 ("kexec: split crashkernel reservation code out from crash_core.c") Signed-off-by: Baoquan He <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent ed30a4a commit 697f334

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ config ARCH_SELECTS_CRASH_DUMP
595595
select RELOCATABLE
596596

597597
config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
598-
def_bool CRASH_CORE
598+
def_bool CRASH_RESERVE
599599

600600
config RELOCATABLE
601601
bool "Relocatable kernel"

arch/loongarch/include/asm/crash_core.h renamed to arch/loongarch/include/asm/crash_reserve.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0-only */
2-
#ifndef _LOONGARCH_CRASH_CORE_H
3-
#define _LOONGARCH_CRASH_CORE_H
2+
#ifndef _LOONGARCH_CRASH_RESERVE_H
3+
#define _LOONGARCH_CRASH_RESERVE_H
44

55
#define CRASH_ALIGN SZ_2M
66

0 commit comments

Comments
 (0)