summaryrefslogtreecommitdiffstats
path: root/include/asm-um/elf-x86_64.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 10:27:17 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 18:43:07 +0200
commit058ac308f3dd34ce4e2dbf938258975ced14b809 (patch)
tree86576cc43740bb45680fc990b445dacd08cfae76 /include/asm-um/elf-x86_64.h
parentuml: ptrace floating point fixes (diff)
downloadlinux-058ac308f3dd34ce4e2dbf938258975ced14b809.tar.xz
linux-058ac308f3dd34ce4e2dbf938258975ced14b809.zip
uml: coredumping floating point fixes
Fix core dumping of floating point state. ELF_CORE_COPY_FPREGS gets a definitions, and as a result, dump_fpu no longer needs to exist. Also, elf_fpregset_t needed a real definition. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um/elf-x86_64.h')
-rw-r--r--include/asm-um/elf-x86_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-um/elf-x86_64.h b/include/asm-um/elf-x86_64.h
index bfe27aa2c9c4..97e1ced71ba7 100644
--- a/include/asm-um/elf-x86_64.h
+++ b/include/asm-um/elf-x86_64.h
@@ -36,7 +36,7 @@ typedef unsigned long elf_greg_t;
#define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-typedef struct { } elf_fpregset_t;
+typedef struct user_i387_struct elf_fpregset_t;
/*
* This is used to ensure we don't load something for the wrong architecture.