From 55adace359bfda606b445b5177ce5138687d4626 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 22 Aug 2021 01:37:17 +0200 Subject: Kernel: Rename SpinLock => Spinlock --- Kernel/Memory/PageDirectory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Kernel/Memory/PageDirectory.cpp') diff --git a/Kernel/Memory/PageDirectory.cpp b/Kernel/Memory/PageDirectory.cpp index 138e0faa72..703b45d3ae 100644 --- a/Kernel/Memory/PageDirectory.cpp +++ b/Kernel/Memory/PageDirectory.cpp @@ -27,7 +27,7 @@ static HashMap& cr3_map() RefPtr PageDirectory::find_by_cr3(FlatPtr cr3) { - ScopedSpinLock lock(s_mm_lock); + ScopedSpinlock lock(s_mm_lock); return cr3_map().get(cr3).value_or({}); } @@ -60,7 +60,7 @@ RefPtr PageDirectory::try_create_for_userspace(VirtualRangeAlloca } // NOTE: Take the MM lock since we need it for quickmap. - ScopedSpinLock lock(s_mm_lock); + ScopedSpinlock lock(s_mm_lock); #if ARCH(X86_64) directory->m_pml4t = MM.allocate_user_physical_page(); @@ -159,7 +159,7 @@ UNMAP_AFTER_INIT void PageDirectory::allocate_kernel_directory() PageDirectory::~PageDirectory() { - ScopedSpinLock lock(s_mm_lock); + ScopedSpinlock lock(s_mm_lock); if (m_space) cr3_map().remove(cr3()); } -- cgit v1.2.3