aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv')
-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}