diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-07 03:02:57 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-07 13:16:01 +0200 |
commit | abc523a5ab9e2aef9691e4b2b7a6f2f678ac0cf8 (patch) | |
tree | e429c0129d57628a9720c92448fce9e8388b08d5 /Kernel | |
parent | 88c27fc38efea72cb85bee3f20385d5e8e186a06 (diff) | |
download | serenity-abc523a5ab9e2aef9691e4b2b7a6f2f678ac0cf8.zip |
Kernel: Specify a lock rank for s_mm_lock
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Memory/MemoryManager.cpp | 2 |
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() { |