Kernel: Run clang-format on Scheduler.cpp

This commit is contained in:
Andreas Kling 2020-07-30 21:46:06 +02:00
commit 027c450d6d
Notes: sideshowbarker 2024-07-19 04:27:24 +09:00

View file

@ -610,7 +610,8 @@ void Scheduler::timer_tick(const RegisterState& regs)
{
ASSERT_INTERRUPTS_DISABLED();
ASSERT(Processor::current().in_irq());
if (Processor::current().id() > 0) return;
if (Processor::current().id() > 0)
return;
auto current_thread = Processor::current().current_thread();
if (!current_thread)
return;
@ -662,7 +663,8 @@ void Scheduler::idle_loop()
for (;;) {
asm("hlt");
if (Processor::current().id() == 0) yield();
if (Processor::current().id() == 0)
yield();
}
}