diff options
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r-- | fs/binfmt_elf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index f3037c645ca9..2f31c4c3fd48 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1411,7 +1411,7 @@ struct elf_thread_status | |||
1411 | elf_fpregset_t fpu; /* NT_PRFPREG */ | 1411 | elf_fpregset_t fpu; /* NT_PRFPREG */ |
1412 | struct task_struct *thread; | 1412 | struct task_struct *thread; |
1413 | #ifdef ELF_CORE_COPY_XFPREGS | 1413 | #ifdef ELF_CORE_COPY_XFPREGS |
1414 | elf_fpxregset_t xfpu; /* NT_PRXFPREG */ | 1414 | elf_fpxregset_t xfpu; /* ELF_CORE_XFPREG_TYPE */ |
1415 | #endif | 1415 | #endif |
1416 | struct memelfnote notes[3]; | 1416 | struct memelfnote notes[3]; |
1417 | int num_notes; | 1417 | int num_notes; |
@@ -1446,8 +1446,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t) | |||
1446 | 1446 | ||
1447 | #ifdef ELF_CORE_COPY_XFPREGS | 1447 | #ifdef ELF_CORE_COPY_XFPREGS |
1448 | if (elf_core_copy_task_xfpregs(p, &t->xfpu)) { | 1448 | if (elf_core_copy_task_xfpregs(p, &t->xfpu)) { |
1449 | fill_note(&t->notes[2], "LINUX", NT_PRXFPREG, sizeof(t->xfpu), | 1449 | fill_note(&t->notes[2], "LINUX", ELF_CORE_XFPREG_TYPE, |
1450 | &t->xfpu); | 1450 | sizeof(t->xfpu), &t->xfpu); |
1451 | t->num_notes++; | 1451 | t->num_notes++; |
1452 | sz += notesize(&t->notes[2]); | 1452 | sz += notesize(&t->notes[2]); |
1453 | } | 1453 | } |
@@ -1621,7 +1621,7 @@ static int elf_core_dump(long signr, struct pt_regs *regs, struct file *file) | |||
1621 | #ifdef ELF_CORE_COPY_XFPREGS | 1621 | #ifdef ELF_CORE_COPY_XFPREGS |
1622 | if (elf_core_copy_task_xfpregs(current, xfpu)) | 1622 | if (elf_core_copy_task_xfpregs(current, xfpu)) |
1623 | fill_note(notes + numnote++, | 1623 | fill_note(notes + numnote++, |
1624 | "LINUX", NT_PRXFPREG, sizeof(*xfpu), xfpu); | 1624 | "LINUX", ELF_CORE_XFPREG_TYPE, sizeof(*xfpu), xfpu); |
1625 | #endif | 1625 | #endif |
1626 | 1626 | ||
1627 | fs = get_fs(); | 1627 | fs = get_fs(); |