mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Kernel: Fix mispellings of AARCH64 that broke the build
This commit is contained in:
parent
72569bca1c
commit
a7144a47ab
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue