Lines Matching refs:prev
714 static inline void __switch_to_tm(struct task_struct *prev) in __switch_to_tm() argument
718 tm_reclaim_task(prev); in __switch_to_tm()
760 #define __switch_to_tm(prev) argument
763 struct task_struct *__switch_to(struct task_struct *prev, in __switch_to() argument
782 save_early_sprs(&prev->thread); in __switch_to()
784 __switch_to_tm(prev); in __switch_to()
796 if (prev->thread.regs && (prev->thread.regs->msr & MSR_FP)) in __switch_to()
797 giveup_fpu(prev); in __switch_to()
810 if (prev->thread.regs && (prev->thread.regs->msr & MSR_VEC)) in __switch_to()
811 giveup_altivec(prev); in __switch_to()
814 if (prev->thread.regs && (prev->thread.regs->msr & MSR_VSX)) in __switch_to()
816 __giveup_vsx(prev); in __switch_to()
826 if ((prev->thread.regs && (prev->thread.regs->msr & MSR_SPE))) in __switch_to()
827 giveup_spe(prev); in __switch_to()