Lines Matching refs:old_thread
1190 static inline void restore_sprs(struct thread_struct *old_thread, in restore_sprs() argument
1195 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1200 old_thread->spefscr != new_thread->spefscr) in restore_sprs()
1209 if (old_thread->dscr != dscr) in restore_sprs()
1214 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1216 if (old_thread->ebbhr != new_thread->ebbhr) in restore_sprs()
1218 if (old_thread->ebbrr != new_thread->ebbrr) in restore_sprs()
1221 if (old_thread->fscr != new_thread->fscr) in restore_sprs()
1224 if (old_thread->tar != new_thread->tar) in restore_sprs()
1229 old_thread->tidr != new_thread->tidr) in restore_sprs()
1238 struct thread_struct *new_thread, *old_thread; in __switch_to() local
1245 old_thread = ¤t->thread; in __switch_to()
1311 restore_sprs(old_thread, new_thread); in __switch_to()
1318 last = _switch(old_thread, new_thread); in __switch_to()