mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:15:09 +00:00
Kernel: Call Processor::are_interrupts_enabled in Scheduler::idle_loop
This expresses the intent better, and we shouldn't be calling global functions anyway.
This commit is contained in:
parent
c962cfdc28
commit
352f980ca2
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ void Scheduler::idle_loop(void*)
|
|||
{
|
||||
auto& proc = Processor::current();
|
||||
dbgln("Scheduler[{}]: idle loop running", proc.id());
|
||||
VERIFY(are_interrupts_enabled());
|
||||
VERIFY(Processor::are_interrupts_enabled());
|
||||
|
||||
for (;;) {
|
||||
proc.idle_begin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue