diff options
Diffstat (limited to 'include/asm-mips/fpu.h')
-rw-r--r-- | include/asm-mips/fpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-mips/fpu.h b/include/asm-mips/fpu.h index 199e768ff73a..58c561a9ec6b 100644 --- a/include/asm-mips/fpu.h +++ b/include/asm-mips/fpu.h | |||
@@ -137,10 +137,9 @@ static inline fpureg_t *get_fpu_regs(struct task_struct *tsk) | |||
137 | if (cpu_has_fpu) { | 137 | if (cpu_has_fpu) { |
138 | if ((tsk == current) && __is_fpu_owner()) | 138 | if ((tsk == current) && __is_fpu_owner()) |
139 | _save_fp(current); | 139 | _save_fp(current); |
140 | return tsk->thread.fpu.hard.fpr; | ||
141 | } | 140 | } |
142 | 141 | ||
143 | return tsk->thread.fpu.soft.fpr; | 142 | return tsk->thread.fpu.fpr; |
144 | } | 143 | } |
145 | 144 | ||
146 | #endif /* _ASM_FPU_H */ | 145 | #endif /* _ASM_FPU_H */ |