diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2017-06-21 19:23:18 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-07-05 07:35:29 +0200 |
commit | cd0ae1d395a8bfc208437ce612413e58f5137499 (patch) | |
tree | 401d02d6ba6a1409982419d5d3e21581d7bdd691 /include/linux/crash_core.h | |
parent | 792e0e002298df01df14c704bee045f3b3be0436 (diff) | |
download | linux-stable-cd0ae1d395a8bfc208437ce612413e58f5137499.tar.gz linux-stable-cd0ae1d395a8bfc208437ce612413e58f5137499.tar.bz2 linux-stable-cd0ae1d395a8bfc208437ce612413e58f5137499.zip |
s390/crash: Remove unused KEXEC_NOTE_BYTES
After commmit 692f66f26a4c19 ("crash: move crashkernel parsing and vmcore
related code under CONFIG_CRASH_CORE") the KEXEC_NOTE_BYTES macro is not
used anymore and for s390 we create the ELF header in the new kernel
anyway. Therefore remove the macro.
Reported-by: Xunlei Pang <xpang@redhat.com>
Reviewed-by: Mikhail Zaslonko <zaslonko@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/linux/crash_core.h')
-rw-r--r-- | include/linux/crash_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/crash_core.h b/include/linux/crash_core.h index 541a197ba4a2..4090a42578a8 100644 --- a/include/linux/crash_core.h +++ b/include/linux/crash_core.h @@ -10,6 +10,11 @@ #define CRASH_CORE_NOTE_NAME_BYTES ALIGN(sizeof(CRASH_CORE_NOTE_NAME), 4) #define CRASH_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4) +/* + * The per-cpu notes area is a list of notes terminated by a "NULL" + * note header. For kdump, the code in vmcore.c runs in the context + * of the second kernel to combine them into one note. + */ #define CRASH_CORE_NOTE_BYTES ((CRASH_CORE_NOTE_HEAD_BYTES * 2) + \ CRASH_CORE_NOTE_NAME_BYTES + \ CRASH_CORE_NOTE_DESC_BYTES) |