diff options
author | Liav A <liavalb@gmail.com> | 2022-07-14 15:27:22 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-14 23:27:46 +0200 |
commit | e4e5fa74d0e45975a82784d65f5d1b26fd66e2f8 (patch) | |
tree | 7645081136152951e6d306d46b3b52bbde17ef7d /Kernel/Heap | |
parent | 1c499e75bd25d66393aa2118144d7f0afccc2eed (diff) | |
download | serenity-e4e5fa74d0e45975a82784d65f5d1b26fd66e2f8.zip |
Kernel+Userland: Rename prefix of user_physical => physical
There's no such supervisor pages concept, so there's no need to call
physical pages with the "user_physical" prefix anymore.
Diffstat (limited to 'Kernel/Heap')
-rw-r--r-- | Kernel/Heap/kmalloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp index b27a4886c9..8a88e80186 100644 --- a/Kernel/Heap/kmalloc.cpp +++ b/Kernel/Heap/kmalloc.cpp @@ -319,7 +319,7 @@ struct KmallocGlobalData { PANIC("Out of address space when expanding kmalloc heap."); } - auto physical_pages_or_error = MM.commit_user_physical_pages(new_subheap_size / PAGE_SIZE); + auto physical_pages_or_error = MM.commit_physical_pages(new_subheap_size / PAGE_SIZE); if (physical_pages_or_error.is_error()) { // FIXME: Dare to return false! PANIC("Out of physical pages when expanding kmalloc heap."); |