[Kernel] Always reschedule on ArbitrateAddress (Fixes MK7)

This commit is contained in:
wheremyfoodat 2023-04-27 00:12:27 +03:00
parent 392fa6e595
commit 069fe37602

View file

@ -86,6 +86,8 @@ void Kernel::arbitrateAddress() {
default:
Helpers::panic("ArbitrateAddress: Unimplemented type %s", arbitrationTypeToString(type));
}
rescheduleThreads();
}
// Signal up to "threadCount" threads waiting on the arbiter indicated by "waitingAddress"
@ -104,9 +106,4 @@ void Kernel::signalArbiter(u32 waitingAddress, s32 threadCount) {
if (count == threadCount && threadCount > 0) break;
}
}
// Reschedule threads if we woke one up
if (count != 0) {
rescheduleThreads();
}
}