Lines Matching refs:new

662 static inline void tm_recheckpoint_new_task(struct task_struct *new)  in tm_recheckpoint_new_task()  argument
677 if (!new->thread.regs) in tm_recheckpoint_new_task()
680 if (!MSR_TM_ACTIVE(new->thread.regs->msr)){ in tm_recheckpoint_new_task()
681 tm_restore_sprs(&new->thread); in tm_recheckpoint_new_task()
684 msr = new->thread.ckpt_regs.msr; in tm_recheckpoint_new_task()
688 new->pid, new->thread.regs->msr, msr); in tm_recheckpoint_new_task()
691 tm_recheckpoint(&new->thread, msr); in tm_recheckpoint_new_task()
695 do_load_up_transact_fpu(&new->thread); in tm_recheckpoint_new_task()
696 new->thread.regs->msr |= in tm_recheckpoint_new_task()
697 (MSR_FP | new->thread.fpexc_mode); in tm_recheckpoint_new_task()
701 do_load_up_transact_altivec(&new->thread); in tm_recheckpoint_new_task()
702 new->thread.regs->msr |= MSR_VEC; in tm_recheckpoint_new_task()
707 new->thread.regs->msr |= MSR_VSX; in tm_recheckpoint_new_task()
711 new->pid, mfmsr()); in tm_recheckpoint_new_task()
759 #define tm_recheckpoint_new_task(new) argument
764 struct task_struct *new) in __switch_to() argument
835 if (new->thread.regs && last_task_used_altivec == new) in __switch_to()
836 new->thread.regs->msr |= MSR_VEC; in __switch_to()
839 if (new->thread.regs && last_task_used_vsx == new) in __switch_to()
840 new->thread.regs->msr |= MSR_VSX; in __switch_to()
846 if (new->thread.regs && last_task_used_spe == new) in __switch_to()
847 new->thread.regs->msr |= MSR_SPE; in __switch_to()
853 switch_booke_debug_regs(&new->thread.debug); in __switch_to()
860 if (unlikely(!hw_brk_match(this_cpu_ptr(&current_brk), &new->thread.hw_brk))) in __switch_to()
861 __set_breakpoint(&new->thread.hw_brk); in __switch_to()
866 new_thread = &new->thread; in __switch_to()
900 tm_recheckpoint_new_task(new); in __switch_to()