projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kdump/kexec: calculate note size at compile time
[linux-2.6-block.git]
/
arch
/
ia64
/
kernel
/
crash.c
diff --git
a/arch/ia64/kernel/crash.c
b/arch/ia64/kernel/crash.c
index 3d51a3f77017b0c345bc1dd44f928a6600aaf513..aeb79fb28f0bbd56672ea1c4b1e33bf7f58f33ec 100644
(file)
--- a/
arch/ia64/kernel/crash.c
+++ b/
arch/ia64/kernel/crash.c
@@
-74,7
+74,7
@@
crash_save_this_cpu(void)
buf = (u64 *) per_cpu_ptr(crash_notes, cpu);
if (!buf)
return;
- buf = append_elf_note(buf,
"CORE"
, NT_PRSTATUS, prstatus,
+ buf = append_elf_note(buf,
KEXEC_CORE_NOTE_NAME
, NT_PRSTATUS, prstatus,
sizeof(*prstatus));
final_note(buf);
}