diff options
-rw-r--r-- | mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(). |