summaryrefslogtreecommitdiff
path: root/Kernel/ConsoleDevice.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-22 01:37:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-22 03:34:10 +0200
commit55adace359bfda606b445b5177ce5138687d4626 (patch)
tree429f7e24f71cde34f8f54f10b8ae43b74c514488 /Kernel/ConsoleDevice.cpp
parent7d5d26b0481221d3ebf420de346cc33b3e003147 (diff)
downloadserenity-55adace359bfda606b445b5177ce5138687d4626.zip
Kernel: Rename SpinLock => Spinlock
Diffstat (limited to 'Kernel/ConsoleDevice.cpp')
-rw-r--r--Kernel/ConsoleDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/ConsoleDevice.cpp b/Kernel/ConsoleDevice.cpp
index 6ff530e2a8..c9d9c08df2 100644
--- a/Kernel/ConsoleDevice.cpp
+++ b/Kernel/ConsoleDevice.cpp
@@ -7,7 +7,7 @@
#include <AK/Singleton.h>
#include <Kernel/ConsoleDevice.h>
#include <Kernel/IO.h>
-#include <Kernel/Locking/SpinLock.h>
+#include <Kernel/Locking/Spinlock.h>
#include <Kernel/Sections.h>
#include <Kernel/kstdio.h>
@@ -15,7 +15,7 @@
#define CONSOLE_OUT_TO_BOCHS_DEBUG_PORT
static Singleton<ConsoleDevice> s_the;
-static Kernel::SpinLock g_console_lock;
+static Kernel::Spinlock g_console_lock;
UNMAP_AFTER_INIT void ConsoleDevice::initialize()
{
@@ -67,7 +67,7 @@ Kernel::KResultOr<size_t> ConsoleDevice::write(FileDescription&, u64, const Kern
void ConsoleDevice::put_char(char ch)
{
- Kernel::ScopedSpinLock lock(g_console_lock);
+ Kernel::ScopedSpinlock lock(g_console_lock);
#ifdef CONSOLE_OUT_TO_BOCHS_DEBUG_PORT
IO::out8(IO::BOCHS_DEBUG_PORT, ch);
#endif