From 6d8c4e3b0150ff537902477ed62f8a8e9e70007b Mon Sep 17 00:00:00 2001 From: David Howells Date: Mon, 10 Jul 2006 04:44:55 -0700 Subject: [PATCH] FDPIC: Add coredump capability for the ELF-FDPIC binfmt Add coredump capability for the ELF-FDPIC binfmt. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/frv/kernel/process.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/frv') diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index ecdeafb2fdc..f0c767a56c6 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; +} -- cgit v1.2.3-70-g09d2