Skip to content

Commit 7e620b5

Browse files
akihikodakikees
authored andcommitted
crash: Remove KEXEC_CORE_NOTE_NAME
KEXEC_CORE_NOTE_NAME is no longer used. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Acked-by: Baoquan He <bhe@redhat.com> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Link: https://lore.kernel.org/r/20250115-elf-v5-6-0f9e55bbb2fc@daynix.com Signed-off-by: Kees Cook <kees@kernel.org>
1 parent d4a760f commit 7e620b5

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

include/linux/kexec.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ extern note_buf_t __percpu *crash_notes;
6868
#define KEXEC_CRASH_MEM_ALIGN PAGE_SIZE
6969
#endif
7070

71-
#define KEXEC_CORE_NOTE_NAME CRASH_CORE_NOTE_NAME
72-
7371
/*
7472
* This structure is used to hold the arguments that are used when loading
7573
* kernel binaries.

include/linux/vmcore_info.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <linux/elfcore.h>
77
#include <linux/elf.h>
88

9-
#define CRASH_CORE_NOTE_NAME "CORE"
109
#define CRASH_CORE_NOTE_HEAD_BYTES ALIGN(sizeof(struct elf_note), 4)
1110
#define CRASH_CORE_NOTE_NAME_BYTES ALIGN(sizeof(NN_PRSTATUS), 4)
1211
#define CRASH_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4)

0 commit comments

Comments
 (0)