summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorMarco Cutecchia <marco.cutecchia@outlook.it>2023-03-08 12:55:01 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-08 14:20:29 +0100
commita7144a47ab907095fcb35d7a10d86ace17340f79 (patch)
tree81b3a4674c7a6ef248788d48ca9876b0cec733fc /Kernel
parent72569bca1c875136d71a9f4cf028021e3536ad57 (diff)
downloadserenity-a7144a47ab907095fcb35d7a10d86ace17340f79.zip
Kernel: Fix mispellings of AARCH64 that broke the build
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Memory/ScopedAddressSpaceSwitcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Memory/ScopedAddressSpaceSwitcher.cpp b/Kernel/Memory/ScopedAddressSpaceSwitcher.cpp
index 7927c97a3f..0bbf51601d 100644
--- a/Kernel/Memory/ScopedAddressSpaceSwitcher.cpp
+++ b/Kernel/Memory/ScopedAddressSpaceSwitcher.cpp
@@ -15,7 +15,7 @@ ScopedAddressSpaceSwitcher::ScopedAddressSpaceSwitcher(Process& process)
VERIFY(Thread::current() != nullptr);
#if ARCH(X86_64)
m_previous_cr3 = read_cr3();
-#elif ARCH(AARC64)
+#elif ARCH(AARCH64)
TODO_AARCH64();
#endif
Memory::MemoryManager::enter_process_address_space(process);
@@ -27,7 +27,7 @@ ScopedAddressSpaceSwitcher::~ScopedAddressSpaceSwitcher()
#if ARCH(X86_64)
Thread::current()->regs().cr3 = m_previous_cr3;
write_cr3(m_previous_cr3);
-#elif ARCH(AARC64)
+#elif ARCH(AARCH64)
TODO_AARCH64();
#endif
}