aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-07-10 07:44:55 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-10 16:24:22 -0400
commit6d8c4e3b0150ff537902477ed62f8a8e9e70007b (patch)
tree0fe61afc565c4312f8a4395281186c0e54449c1c /arch
parentb4cac1a0227a6f84be0381cd350a3c8730a4a671 (diff)
[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')
-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)
371 371
372 return 1; 372 return 1;
373} 373}
374
375int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
376{
377 memcpy(fpregs,
378 &current->thread.user->f,
379 sizeof(current->thread.user->f));
380 return 1;
381}