Kernel: Fix mispellings of AARCH64 that broke the build

This commit is contained in:
Marco Cutecchia 2023-03-08 12:55:01 +01:00 committed by Andreas Kling
parent 72569bca1c
commit a7144a47ab

View file

@ -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
}