diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-06 21:45:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 21:45:05 +0200 |
commit | 47bdd7c3a01b7e21e56a5d1dd40b18e9ed43f466 (patch) | |
tree | 6cbae638fd026c2f9f61e9c0dccb616e0b6a59bf /Kernel/Memory/AddressSpace.cpp | |
parent | cdab5b2091689b2f532327dc0d4203f0ba9fe90d (diff) | |
download | serenity-47bdd7c3a01b7e21e56a5d1dd40b18e9ed43f466.zip |
Kernel: Rename a very long enum to ShouldDeallocateVirtualRange
ShouldDeallocateVirtualMemoryVirtualRange was a bit on the long side.
Diffstat (limited to 'Kernel/Memory/AddressSpace.cpp')
-rw-r--r-- | Kernel/Memory/AddressSpace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Memory/AddressSpace.cpp b/Kernel/Memory/AddressSpace.cpp index 1f939e30d3..2b4f92066e 100644 --- a/Kernel/Memory/AddressSpace.cpp +++ b/Kernel/Memory/AddressSpace.cpp @@ -69,7 +69,7 @@ KResult AddressSpace::unmap_mmap_range(VirtualAddress addr, size_t size) auto region = take_region(*old_region); // We manually unmap the old region here, specifying that we *don't* want the VM deallocated. - region->unmap(Region::ShouldDeallocateVirtualMemoryVirtualRange::No); + region->unmap(Region::ShouldDeallocateVirtualRange::No); auto new_regions_or_error = try_split_region_around_range(*region, range_to_unmap); if (new_regions_or_error.is_error()) @@ -115,7 +115,7 @@ KResult AddressSpace::unmap_mmap_range(VirtualAddress addr, size_t size) auto region = take_region(*old_region); // We manually unmap the old region here, specifying that we *don't* want the VM deallocated. - region->unmap(Region::ShouldDeallocateVirtualMemoryVirtualRange::No); + region->unmap(Region::ShouldDeallocateVirtualRange::No); // Otherwise, split the regions and collect them for future mapping. auto split_regions_or_error = try_split_region_around_range(*region, range_to_unmap); |