mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 18:39:55 +00:00
Cleanup: Use fpuRelease
Instead of doing exactly the same. Signed-off-by: Indan Zupancic <indan@nul.nu>
This commit is contained in:
@@ -23,9 +23,7 @@ void migrateTCB(tcb_t *tcb, word_t new_core)
|
||||
* is not necessarily the core, that we are now running on), then release
|
||||
* that cores's FPU.
|
||||
*/
|
||||
if (nativeThreadUsingFPU(tcb)) {
|
||||
switchFpuOwner(NULL, tcb->tcbAffinity);
|
||||
}
|
||||
fpuRelease(tcb);
|
||||
#endif /* CONFIG_HAVE_FPU */
|
||||
tcb->tcbAffinity = new_core;
|
||||
#ifdef CONFIG_DEBUG_BUILD
|
||||
|
||||
Reference in New Issue
Block a user