diff options
Diffstat (limited to 'include/asm-mips/fpu.h')
-rw-r--r-- | include/asm-mips/fpu.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-mips/fpu.h b/include/asm-mips/fpu.h index b0f50015e25..58c561a9ec6 100644 --- a/include/asm-mips/fpu.h +++ b/include/asm-mips/fpu.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #ifndef _ASM_FPU_H | 10 | #ifndef _ASM_FPU_H |
11 | #define _ASM_FPU_H | 11 | #define _ASM_FPU_H |
12 | 12 | ||
13 | #include <linux/config.h> | ||
14 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
15 | #include <linux/thread_info.h> | 14 | #include <linux/thread_info.h> |
16 | 15 | ||
@@ -138,10 +137,9 @@ static inline fpureg_t *get_fpu_regs(struct task_struct *tsk) | |||
138 | if (cpu_has_fpu) { | 137 | if (cpu_has_fpu) { |
139 | if ((tsk == current) && __is_fpu_owner()) | 138 | if ((tsk == current) && __is_fpu_owner()) |
140 | _save_fp(current); | 139 | _save_fp(current); |
141 | return tsk->thread.fpu.hard.fpr; | ||
142 | } | 140 | } |
143 | 141 | ||
144 | return tsk->thread.fpu.soft.fpr; | 142 | return tsk->thread.fpu.fpr; |
145 | } | 143 | } |
146 | 144 | ||
147 | #endif /* _ASM_FPU_H */ | 145 | #endif /* _ASM_FPU_H */ |