diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index 2a59c8a01ae0..25db14b89e82 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
@@ -1118,8 +1118,8 @@ void crash_save_cpu(struct pt_regs *regs, int cpu) | |||
1118 | memset(&prstatus, 0, sizeof(prstatus)); | 1118 | memset(&prstatus, 0, sizeof(prstatus)); |
1119 | prstatus.pr_pid = current->pid; | 1119 | prstatus.pr_pid = current->pid; |
1120 | elf_core_copy_regs(&prstatus.pr_reg, regs); | 1120 | elf_core_copy_regs(&prstatus.pr_reg, regs); |
1121 | buf = append_elf_note(buf, "CORE", NT_PRSTATUS, &prstatus, | 1121 | buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS, |
1122 | sizeof(prstatus)); | 1122 | &prstatus, sizeof(prstatus)); |
1123 | final_note(buf); | 1123 | final_note(buf); |
1124 | } | 1124 | } |
1125 | 1125 | ||