X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-mips%2Ffpu.h;h=58c561a9ec6b74b8eaf4c48d0609c44098e96538;hb=cc078189125db84a85a3bbb82df788b84fc68aa1;hp=b0f50015e25253688fd24e6154f48d70710d5fa3;hpb=d42510a0f58c2583c37c8e9b7548e3a68545863a;p=powerpc.git diff --git a/include/asm-mips/fpu.h b/include/asm-mips/fpu.h index b0f50015e2..58c561a9ec 100644 --- a/include/asm-mips/fpu.h +++ b/include/asm-mips/fpu.h @@ -10,7 +10,6 @@ #ifndef _ASM_FPU_H #define _ASM_FPU_H -#include #include #include @@ -138,10 +137,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 */