aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/process.c')
-rw-r--r--arch/um/kernel/process.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index 541a2bf331c5..570471218086 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -446,3 +446,11 @@ unsigned long get_wchan(struct task_struct *p)
446 446
447 return 0; 447 return 0;
448} 448}
449
450int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu)
451{
452 int cpu = current_thread_info()->cpu;
453
454 return save_fp_registers(userspace_pid[cpu], (unsigned long *) fpu);
455}
456