summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/process.c
diff options
context:
space:
mode:
authorDavid Howells2006-07-10 13:44:55 +0200
committerLinus Torvalds2006-07-10 22:24:22 +0200
commit6d8c4e3b0150ff537902477ed62f8a8e9e70007b (patch)
tree0fe61afc565c4312f8a4395281186c0e54449c1c /arch/frv/kernel/process.c
parent[PATCH] FDPIC: Move roundup() into linux/kernel.h (diff)
downloadkernel-qcow2-linux-6d8c4e3b0150ff537902477ed62f8a8e9e70007b.tar.gz
kernel-qcow2-linux-6d8c4e3b0150ff537902477ed62f8a8e9e70007b.tar.xz
kernel-qcow2-linux-6d8c4e3b0150ff537902477ed62f8a8e9e70007b.zip
[PATCH] FDPIC: Add coredump capability for the ELF-FDPIC binfmt
Add coredump capability for the ELF-FDPIC binfmt. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/kernel/process.c')
-rw-r--r--arch/frv/kernel/process.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c
index ecdeafb2fdce..f0c767a56c65 100644
--- a/arch/frv/kernel/process.c
+++ b/arch/frv/kernel/process.c
@@ -371,3 +371,11 @@ int elf_check_arch(const struct elf32_hdr *hdr)
return 1;
}
+
+int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
+{
+ memcpy(fpregs,
+ &current->thread.user->f,
+ sizeof(current->thread.user->f));
+ return 1;
+}