diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-27 00:58:09 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-30 09:43:49 +0200 |
commit | 081bb2962675cdf8994633906c73328a605baa02 (patch) | |
tree | ab652171c8396038621e673d0f7fab82bdd1b153 /Kernel/VM/Region.cpp | |
parent | eac3bbdcee331ffcdc585d3bc0c7491a9782cfb2 (diff) | |
download | serenity-081bb2962675cdf8994633906c73328a605baa02.zip |
Kernel: Unbreak building with extra debug macros, part 2
Diffstat (limited to 'Kernel/VM/Region.cpp')
-rw-r--r-- | Kernel/VM/Region.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp index f0a103d6f5..48c565e22a 100644 --- a/Kernel/VM/Region.cpp +++ b/Kernel/VM/Region.cpp @@ -387,7 +387,7 @@ PageFaultResponse Region::handle_zero_fault(size_t page_index_in_region) } #ifdef PAGE_FAULT_DEBUG - dbg() << " >> ZERO " << physical_page->paddr(); + dbg() << " >> ZERO " << page->paddr(); #endif page_slot = move(page); remap_page(page_index_in_region); @@ -423,7 +423,7 @@ PageFaultResponse Region::handle_cow_fault(size_t page_index_in_region) u8* dest_ptr = MM.quickmap_page(*page); const u8* src_ptr = vaddr().offset(page_index_in_region * PAGE_SIZE).as_ptr(); #ifdef PAGE_FAULT_DEBUG - dbg() << " >> COW " << physical_page->paddr() << " <- " << physical_page_to_copy->paddr(); + dbg() << " >> COW " << page->paddr() << " <- " << physical_page_to_copy->paddr(); #endif copy_from_user(dest_ptr, src_ptr, PAGE_SIZE); page_slot = move(page); |