diff options
Diffstat (limited to 'src/core/cpu_manager.cpp')
| -rw-r--r-- | src/core/cpu_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 122edb588..018cd2e25 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -279,7 +279,7 @@ void CpuManager::PreemptSingleCore(bool from_running_enviroment) { | |||
| 279 | auto& scheduler = system.Kernel().Scheduler(current_core); | 279 | auto& scheduler = system.Kernel().Scheduler(current_core); |
| 280 | scheduler.Reload(scheduler.GetCurrentThread()); | 280 | scheduler.Reload(scheduler.GetCurrentThread()); |
| 281 | auto* currrent_thread2 = scheduler.GetCurrentThread(); | 281 | auto* currrent_thread2 = scheduler.GetCurrentThread(); |
| 282 | if (!currrent_thread2->IsIdleThread()) { | 282 | if (!currrent_thread2->IsKernelThread()) { |
| 283 | idle_count = 0; | 283 | idle_count = 0; |
| 284 | } | 284 | } |
| 285 | } | 285 | } |