#ifdef __KERNEL__
+#include <asm/fpstate.h>
+
#ifndef __ASSEMBLY__
struct task_struct;
struct exec_domain;
-#include <asm/fpstate.h>
#include <asm/ptrace.h>
#include <asm/types.h>
#include <asm/domain.h>
/*
* low level task data that entry.S needs immediate access to.
- * We assume cpu_context follows immedately after cpu_domain.
+ * __switch_to() assumes cpu_context follows immediately after cpu_domain.
*/
struct thread_info {
unsigned long flags; /* low level flags */
struct cpu_context_save cpu_context; /* cpu context */
__u8 used_cp[16]; /* thread used copro */
union fp_state fpstate;
- struct restart_block restart_block;
+ union vfp_state vfpstate;
+ struct restart_block restart_block;
};
#define INIT_THREAD_INFO(tsk) \
#define TI_CPU_SAVE 28
#define TI_USED_CP 76
#define TI_FPSTATE (TI_USED_CP+16)
+#define TI_VFPSTATE (TI_FPSTATE+FP_SIZE*4)
#endif