Skip to content
Snippets Groups Projects
Commit 0ad3e2e0 authored by Nadav Har'El's avatar Nadav Har'El
Browse files

Fix comment

The comment about unlocking the irq_lock was put on the wrong line.
Move it (and rephrase it a bit - the word "release" immediately after
calling an unrelated release() function - is confusing).
parent 19e52ce6
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,8 @@ void cpu::do_idle()
return;
}
guard.release();
arch::wait_for_interrupt();
handle_incoming_wakeups(); // auto releases irq_lock
arch::wait_for_interrupt(); // this unlocks irq_lock
handle_incoming_wakeups();
} while (runqueue.empty());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment