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:
parent
865eb54f75
commit
4b7575fabd
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue