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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user