1
0
Fork 0
forked from suyu/suyu

Kernel/Thread: Corrected a typo in an assert about the processor id.

This commit is contained in:
Subv 2018-05-30 11:32:46 -05:00
parent 5a763e8a5a
commit d1f9c750a6

View file

@ -476,7 +476,7 @@ void Thread::ChangeCore(u32 core, u64 mask) {
new_processor_id = ideal_core; new_processor_id = ideal_core;
} }
ASSERT(new_processor_id < 4); ASSERT(*new_processor_id < 4);
// Add thread to new core's scheduler // Add thread to new core's scheduler
auto& next_scheduler = Core::System().GetInstance().Scheduler(*new_processor_id); auto& next_scheduler = Core::System().GetInstance().Scheduler(*new_processor_id);