|
@@ -160,11 +160,9 @@ void fpsimd_thread_switch(struct task_struct *next)
|
|
|
|
|
|
|
|
if (__this_cpu_read(fpsimd_last_state) == st
|
|
if (__this_cpu_read(fpsimd_last_state) == st
|
|
|
&& st->cpu == smp_processor_id())
|
|
&& st->cpu == smp_processor_id())
|
|
|
- clear_ti_thread_flag(task_thread_info(next),
|
|
|
|
|
- TIF_FOREIGN_FPSTATE);
|
|
|
|
|
|
|
+ clear_tsk_thread_flag(next, TIF_FOREIGN_FPSTATE);
|
|
|
else
|
|
else
|
|
|
- set_ti_thread_flag(task_thread_info(next),
|
|
|
|
|
- TIF_FOREIGN_FPSTATE);
|
|
|
|
|
|
|
+ set_tsk_thread_flag(next, TIF_FOREIGN_FPSTATE);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|