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 <[email protected]> Acked-by: Baoquan He <[email protected]> Reviewed-by: Dave Martin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
1 parent d4a760f commit 7e620b5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

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)