summaryrefslogtreecommitdiff
path: root/Kernel/Memory
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-07 21:34:11 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-08 00:03:45 +0200
commitc94c15d45cbcca4e753c94665d698bb09d96313c (patch)
tree19352d5302f16c7a79d733786c72a6f32232a6b6 /Kernel/Memory
parenteb60cb156da0f88d0f6930fb9cc32012ac56e28e (diff)
downloadserenity-c94c15d45cbcca4e753c94665d698bb09d96313c.zip
Everywhere: Replace AK::Singleton => Singleton
Diffstat (limited to 'Kernel/Memory')
-rw-r--r--Kernel/Memory/MemoryManager.cpp4
-rw-r--r--Kernel/Memory/PageDirectory.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Memory/MemoryManager.cpp b/Kernel/Memory/MemoryManager.cpp
index fd60716e36..507ec3b00f 100644
--- a/Kernel/Memory/MemoryManager.cpp
+++ b/Kernel/Memory/MemoryManager.cpp
@@ -42,9 +42,9 @@ __attribute__((section(".super_pages"))) static u8 super_pages[1 * MiB];
namespace Kernel::Memory {
-// NOTE: We can NOT use AK::Singleton for this class, because
+// NOTE: We can NOT use Singleton for this class, because
// MemoryManager::initialize is called *before* global constructors are
-// run. If we do, then AK::Singleton would get re-initialized, causing
+// 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;
diff --git a/Kernel/Memory/PageDirectory.cpp b/Kernel/Memory/PageDirectory.cpp
index 4d8cf94e88..138e0faa72 100644
--- a/Kernel/Memory/PageDirectory.cpp
+++ b/Kernel/Memory/PageDirectory.cpp
@@ -17,7 +17,7 @@ extern u8 end_of_kernel_image[];
namespace Kernel::Memory {
-static AK::Singleton<HashMap<FlatPtr, PageDirectory*>> s_cr3_map;
+static Singleton<HashMap<FlatPtr, PageDirectory*>> s_cr3_map;
static HashMap<FlatPtr, PageDirectory*>& cr3_map()
{