Merge tag 'sh-for-5.9' of git://git.libc.org/linux-sh
[linux-2.6-microblaze.git] / arch / sh / kernel / process_32.c
index aba16af..80a5d1c 100644 (file)
@@ -89,30 +89,11 @@ void release_thread(struct task_struct *dead_task)
        /* do nothing */
 }
 
-/* Fill in the fpu structure for a core dump.. */
-int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
-{
-       int fpvalid = 0;
-
-#if defined(CONFIG_SH_FPU)
-       struct task_struct *tsk = current;
-
-       fpvalid = !!tsk_used_math(tsk);
-       if (fpvalid)
-               fpvalid = !fpregs_get(tsk, NULL, 0,
-                                     sizeof(struct user_fpu_struct),
-                                     fpu, NULL);
-#endif
-
-       return fpvalid;
-}
-EXPORT_SYMBOL(dump_fpu);
-
 asmlinkage void ret_from_fork(void);
 asmlinkage void ret_from_kernel_thread(void);
 
-int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
-                   unsigned long arg, struct task_struct *p, unsigned long tls)
+int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg,
+               struct task_struct *p, unsigned long tls)
 {
        struct thread_info *ti = task_thread_info(p);
        struct pt_regs *childregs;