aboutsummaryrefslogtreecommitdiffstats
path: root/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmu.c')
-rw-r--r--mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmu.c b/mmu.c
index 70c00f9..ea21f4e 100644
--- a/mmu.c
+++ b/mmu.c
@@ -62,7 +62,7 @@ void __iomem *pd_deref(struct nvdebug_state *g, uintptr_t addr, enum PD_TARGET p
62 if (!phys) 62 if (!phys)
63 return 0; 63 return 0;
64 64
65 return phys_to_virt(addr); 65 return phys_to_virt(phys);
66} 66}
67 67
68// Internal helper for search_page_directory(). 68// Internal helper for search_page_directory().