Lines Matching refs:prev
39 extern asmlinkage struct task_struct *resume(struct task_struct *prev,
60 #define __mips_mt_fpaff_switch_to(prev) \ argument
62 struct thread_info *__prev_ti = task_thread_info(prev); \
66 (!(KSTK_STATUS(prev) & ST0_CU1))) { \
68 prev->cpus_allowed = prev->thread.user_cpus_allowed; \
74 #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) argument
86 #define switch_to(prev, next, last) \ argument
90 __mips_mt_fpaff_switch_to(prev); \
92 __save_dsp(prev); \
93 if (cop2_present && (KSTK_STATUS(prev) & ST0_CU2)) { \
95 KSTK_STATUS(prev) &= ~ST0_CU2; \
98 cop2_save(prev); \
102 if (test_and_clear_tsk_thread_flag(prev, TIF_USEDFPU)) \
104 if (test_and_clear_tsk_thread_flag(prev, TIF_USEDMSA)) \
106 (last) = resume(prev, next, task_thread_info(next), __fpsave); \
109 #define finish_arch_switch(prev) \ argument