/* This gets called before we allocate a new thread and copy the current task into it.  */
void prepare_to_copy(struct task_struct *tsk)
/* This gets called before we allocate a new thread and copy the current task into it.  */
void prepare_to_copy(struct task_struct *tsk)
{
	flush_fp_to_thread(current);
	flush_altivec_to_thread(current);
	flush_vsx_to_thread(current);
	flush_spe_to_thread(current);
}