V4L/DVB (10360): gspca - mars: Bad interface/altsetting since 0a10a0e906be.
[linux-2.6-block.git] / kernel / kexec.c
index 483899578259ebc725264bedae6abb132295b9d3..c7fd6692939d6bd03c13019996874677f296d83c 100644 (file)
@@ -1130,7 +1130,7 @@ void crash_save_cpu(struct pt_regs *regs, int cpu)
                return;
        memset(&prstatus, 0, sizeof(prstatus));
        prstatus.pr_pid = current->pid;
-       elf_core_copy_regs(&prstatus.pr_reg, regs);
+       elf_core_copy_kernel_regs(&prstatus.pr_reg, regs);
        buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS,
                              &prstatus, sizeof(prstatus));
        final_note(buf);