#ifndef _ASM_FPU_H
#define _ASM_FPU_H
+#include <linux/config.h>
#include <linux/sched.h>
#include <linux/thread_info.h>
if (cpu_has_fpu) {
if ((tsk == current) && __is_fpu_owner())
_save_fp(current);
+ return tsk->thread.fpu.hard.fpr;
}
- return tsk->thread.fpu.fpr;
+ return tsk->thread.fpu.soft.fpr;
}
#endif /* _ASM_FPU_H */