Lines Matching refs:prev
34 extern void ia64_account_on_switch (struct task_struct *prev, struct task_struct *next);
51 #define __switch_to(prev,next,last) do { \ argument
52 IA64_ACCOUNT_ON_SWITCH(prev, next); \
53 if (IA64_HAS_EXTRA_STATE(prev)) \
54 ia64_save_extra(prev); \
68 # define switch_to(prev,next,last) do { \ argument
69 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \
70 ia64_psr(task_pt_regs(prev))->mfh = 0; \
71 (prev)->thread.flags |= IA64_THREAD_FPH_VALID; \
72 __ia64_save_fpu((prev)->thread.fph); \
74 __switch_to(prev, next, last); \
84 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument