mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace
This commit is contained in:
parent
a1d7ebf85a
commit
93d98d4976
153 changed files with 473 additions and 467 deletions
|
@ -272,8 +272,8 @@ bool Scheduler::yield()
|
|||
|
||||
bool Scheduler::context_switch(Thread* thread)
|
||||
{
|
||||
if (s_mm_lock.own_lock()) {
|
||||
PANIC("In context switch while holding s_mm_lock");
|
||||
if (Memory::s_mm_lock.own_lock()) {
|
||||
PANIC("In context switch while holding Memory::s_mm_lock");
|
||||
}
|
||||
|
||||
thread->did_schedule();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue