Lines Matching refs:new_thread
1229 struct thread_struct *new_thread)
1233 old_thread->vrsave != new_thread->vrsave)
1234 mtspr(SPRN_VRSAVE, new_thread->vrsave);
1238 old_thread->spefscr != new_thread->spefscr)
1239 mtspr(SPRN_SPEFSCR, new_thread->spefscr);
1244 if (new_thread->dscr_inherit)
1245 dscr = new_thread->dscr;
1252 if (old_thread->bescr != new_thread->bescr)
1253 mtspr(SPRN_BESCR, new_thread->bescr);
1254 if (old_thread->ebbhr != new_thread->ebbhr)
1255 mtspr(SPRN_EBBHR, new_thread->ebbhr);
1256 if (old_thread->ebbrr != new_thread->ebbrr)
1257 mtspr(SPRN_EBBRR, new_thread->ebbrr);
1259 if (old_thread->fscr != new_thread->fscr)
1260 mtspr(SPRN_FSCR, new_thread->fscr);
1262 if (old_thread->tar != new_thread->tar)
1263 mtspr(SPRN_TAR, new_thread->tar);
1267 old_thread->tidr != new_thread->tidr)
1268 mtspr(SPRN_TIDR, new_thread->tidr);
1271 old_thread->hashkeyr != new_thread->hashkeyr)
1272 mtspr(SPRN_HASHKEYR, new_thread->hashkeyr);
1275 old_thread->dexcr != new_thread->dexcr)
1276 mtspr(SPRN_DEXCR, new_thread->dexcr);
1284 struct thread_struct *new_thread, *old_thread;
1290 new_thread = &new->thread;
1357 restore_sprs(old_thread, new_thread);
1364 last = _switch(old_thread, new_thread);