1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

Kernel: Unbreak x86_64 build (PageDirectory)

This commit is contained in:
Andreas Kling 2021-09-05 15:38:57 +02:00
parent 865eb54f75
commit 4b7575fabd

View file

@ -63,7 +63,7 @@ KResultOr<NonnullRefPtr<PageDirectory>> PageDirectory::try_create_for_userspace(
#if ARCH(X86_64)
directory->m_pml4t = MM.allocate_user_physical_page();
if (!directory->m_pml4t)
return {};
return ENOMEM;
#endif
directory->m_directory_table = MM.allocate_user_physical_page();