diff options
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index c5ca2f0aca7f..faae02189598 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -1417,7 +1417,7 @@ struct elf_thread_status | |||
1417 | elf_fpregset_t fpu; /* NT_PRFPREG */ | 1417 | elf_fpregset_t fpu; /* NT_PRFPREG */ |
1418 | struct task_struct *thread; | 1418 | struct task_struct *thread; |
1419 | #ifdef ELF_CORE_COPY_XFPREGS | 1419 | #ifdef ELF_CORE_COPY_XFPREGS |
1420 | elf_fpxregset_t xfpu; /* NT_PRXFPREG */ | 1420 | elf_fpxregset_t xfpu; /* ELF_CORE_XFPREG_TYPE */ |
1421 | #endif | 1421 | #endif |
1422 | struct memelfnote notes[3]; | 1422 | struct memelfnote notes[3]; |
1423 | int num_notes; | 1423 | int num_notes; |
@@ -1453,8 +1453,8 @@ static int elf_dump_thread_status(long signr, struct elf_thread_status *t) | |||
1453 | 1453 | ||
1454 | #ifdef ELF_CORE_COPY_XFPREGS | 1454 | #ifdef ELF_CORE_COPY_XFPREGS |
1455 | if (elf_core_copy_task_xfpregs(p, &t->xfpu)) { | 1455 | if (elf_core_copy_task_xfpregs(p, &t->xfpu)) { |
1456 | fill_note(&t->notes[2], "LINUX", NT_PRXFPREG, sizeof(t->xfpu), | 1456 | fill_note(&t->notes[2], "LINUX", ELF_CORE_XFPREG_TYPE, |
1457 | &t->xfpu); | 1457 | sizeof(t->xfpu), &t->xfpu); |
1458 | t->num_notes++; | 1458 | t->num_notes++; |
1459 | sz += notesize(&t->notes[2]); | 1459 | sz += notesize(&t->notes[2]); |
1460 | } | 1460 | } |
@@ -1690,7 +1690,7 @@ static int elf_fdpic_core_dump(long signr, struct pt_regs *regs, | |||
1690 | #ifdef ELF_CORE_COPY_XFPREGS | 1690 | #ifdef ELF_CORE_COPY_XFPREGS |
1691 | if (elf_core_copy_task_xfpregs(current, xfpu)) | 1691 | if (elf_core_copy_task_xfpregs(current, xfpu)) |
1692 | fill_note(notes + numnote++, | 1692 | fill_note(notes + numnote++, |
1693 | "LINUX", NT_PRXFPREG, sizeof(*xfpu), xfpu); | 1693 | "LINUX", ELF_CORE_XFPREG_TYPE, sizeof(*xfpu), xfpu); |
1694 | #endif | 1694 | #endif |
1695 | 1695 | ||
1696 | fs = get_fs(); | 1696 | fs = get_fs(); |