|
|
@@ -458,7 +458,6 @@ void Scheduler::SwitchContext() {
|
|
|
cpu_core.LoadContext(new_thread->GetContext());
|
|
|
cpu_core.SetTlsAddress(new_thread->GetTLSAddress());
|
|
|
cpu_core.SetTPIDR_EL0(new_thread->GetTPIDR_EL0());
|
|
|
- cpu_core.ClearExclusiveState();
|
|
|
} else {
|
|
|
current_thread = nullptr;
|
|
|
// Note: We do not reset the current process and current page table when idling because
|