if (!used_math())
init_fpu(me);
- restore_fpu_checking(&me->thread.i387.fxsave);
+ restore_fpu_checking(&me->thread.xstate->fxsave);
task_thread_info(me)->status |= TS_USEDFPU;
me->fpu_counter++;
}
set_system_gate(IA32_SYSCALL_VECTOR, ia32_syscall);
#endif
+ /*
+ * initialize the per thread extended state:
+ */
+ init_thread_xstate();
/*
* Should be a barrier for any external CPU state.
*/