Kernel: Remove a few global instances from the kernel.

This commit is contained in:
Fernando Sahmkow
2020-01-26 14:23:46 -04:00
parent e4a1ead897
commit a1630ab53e
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ void WaitObject::WakeupWaitingThread(std::shared_ptr<Thread> thread) {
}
if (resume) {
thread->ResumeFromWait();
Core::System::GetInstance().PrepareReschedule(thread->GetProcessorID());
kernel.PrepareReschedule(thread->GetProcessorID());
}
}