kernel: revert unneeded change, requested by waddlesplash

Change-Id: If55f93ed75dc20363de9bf0022d93800f5a9661f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7816
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Jérôme Duval
2024-06-27 16:16:23 +00:00
parent 44e9aa9f33
commit 6c9192d702
+1 -1
View File
@@ -379,7 +379,7 @@ reschedule(int32 nextState)
// select thread with the biggest priority and enqueue back the old thread
ThreadData* nextThreadData;
if (!gCPUEnabled.GetBit(thisCPU)) {
if (gCPU[thisCPU].disabled) {
if (!oldThreadData->IsIdle()) {
if (oldThread->pinned_to_cpu == 0) {
putOldThreadAtBack = true;