summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-04 11:27:14 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-04 11:27:14 +0200
commite25ade7579b25a94aa21aee57571c9ecc5241819 (patch)
tree10c9e09d4464e7c9f2c86527ce961971df15f8b8 /Kernel/Process.cpp
parente5500e2a22e9c6180417ebb3757646eff6b0aa18 (diff)
downloadserenity-e25ade7579b25a94aa21aee57571c9ecc5241819.zip
Kernel: Rename "vmo" to "vmobject" everywhere
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 7374735376..be18d487b8 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -252,7 +252,7 @@ int Process::sys$munmap(void* addr, size_t size)
size_t new_range_offset_in_old_region = new_range.base().get() - old_region_range.base().get();
size_t first_physical_page_of_new_region_in_old_region = new_range_offset_in_old_region / PAGE_SIZE;
for (size_t i = 0; i < new_region.page_count(); ++i) {
- new_region.vmo().physical_pages()[i] = old_region->vmo().physical_pages()[first_physical_page_of_new_region_in_old_region + i];
+ new_region.vmobject().physical_pages()[i] = old_region->vmobject().physical_pages()[first_physical_page_of_new_region_in_old_region + i];
}
return new_region;
};