]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/asm-mips/fpu.h
[MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs.
[mirror_ubuntu-artful-kernel.git] / include / asm-mips / fpu.h
index b0f50015e25253688fd24e6154f48d70710d5fa3..8bf510a27c643889f48476351ea8cc11d9a232ed 100644 (file)
@@ -138,10 +138,9 @@ static inline fpureg_t *get_fpu_regs(struct task_struct *tsk)
        if (cpu_has_fpu) {
                if ((tsk == current) && __is_fpu_owner())
                        _save_fp(current);
-               return tsk->thread.fpu.hard.fpr;
        }
 
-       return tsk->thread.fpu.soft.fpr;
+       return tsk->thread.fpu.fpr;
 }
 
 #endif /* _ASM_FPU_H */