]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/fpu.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6-omap-h63xx.git] / include / asm-mips / fpu.h
index 199e768ff73a65d9b35af609160b0dfcb8ac6661..58c561a9ec6b74b8eaf4c48d0609c44098e96538 100644 (file)
@@ -137,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 */