summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-07 03:02:57 -0700
committerAndreas Kling <kling@serenityos.org>2021-09-07 13:16:01 +0200
commitabc523a5ab9e2aef9691e4b2b7a6f2f678ac0cf8 (patch)
treee429c0129d57628a9720c92448fce9e8388b08d5 /Kernel
parent88c27fc38efea72cb85bee3f20385d5e8e186a06 (diff)
downloadserenity-abc523a5ab9e2aef9691e4b2b7a6f2f678ac0cf8.zip
Kernel: Specify a lock rank for s_mm_lock
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Memory/MemoryManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/MemoryManager.cpp b/Kernel/Memory/MemoryManager.cpp
index ab9c6b0f8c..dcbb9be71e 100644
--- a/Kernel/Memory/MemoryManager.cpp
+++ b/Kernel/Memory/MemoryManager.cpp
@@ -47,7 +47,7 @@ namespace Kernel::Memory {
// run. If we do, then Singleton would get re-initialized, causing
// the memory manager to be initialized twice!
static MemoryManager* s_the;
-RecursiveSpinlock s_mm_lock;
+RecursiveSpinlock s_mm_lock { LockRank::MemoryManager };
MemoryManager& MemoryManager::the()
{