diff options
author | David Howells <dhowells@redhat.com> | 2006-07-10 04:44:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 13:24:22 -0700 |
commit | 6d8c4e3b0150ff537902477ed62f8a8e9e70007b (patch) | |
tree | 0fe61afc565c4312f8a4395281186c0e54449c1c /arch | |
parent | b4cac1a0227a6f84be0381cd350a3c8730a4a671 (diff) | |
download | linux-6d8c4e3b0150ff537902477ed62f8a8e9e70007b.tar.bz2 |
[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.c | 8 |
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, + ¤t->thread.user->f, + sizeof(current->thread.user->f)); + return 1; +} |