1
0
Fork 0
forked from suyu/suyu

Merge pull request #7732 from v1993/patch-7

kernel: remove no-op code
This commit is contained in:
bunnei 2022-01-17 15:37:16 -08:00 committed by GitHub
commit 5eb0b65590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,8 +49,6 @@ void KScheduler::RescheduleCores(KernelCore& kernel, u64 cores_pending_reschedul
if (!must_context_switch || core != current_core) { if (!must_context_switch || core != current_core) {
auto& phys_core = kernel.PhysicalCore(core); auto& phys_core = kernel.PhysicalCore(core);
phys_core.Interrupt(); phys_core.Interrupt();
} else {
must_context_switch = true;
} }
cores_pending_reschedule &= ~(1ULL << core); cores_pending_reschedule &= ~(1ULL << core);
} }