elf_prstatus: collect the common part (everything before pr_reg) into a struct
[linux-block.git] / arch / ia64 / kernel / crash.c
index fec70d662d0c2da737308bfbdd74e45d6088a5d4..4f47741005d26e160671556529f3985ee8509307 100644 (file)
@@ -43,7 +43,7 @@ crash_save_this_cpu(void)
 
        elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg);
        memset(prstatus, 0, sizeof(*prstatus));
-       prstatus->pr_pid = current->pid;
+       prstatus->common.pr_pid = current->pid;
 
        ia64_dump_cpu_regs(dst);
        cfm = dst[43];