summaryrefslogtreecommitdiff
path: root/i386/i386/phys.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/phys.c')
-rw-r--r--i386/i386/phys.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/i386/i386/phys.c b/i386/i386/phys.c
index 925593b3..ed4a309a 100644
--- a/i386/i386/phys.c
+++ b/i386/i386/phys.c
@@ -105,9 +105,5 @@ vm_offset_t addr;
if ((pte = pmap_pte(kernel_pmap, addr)) == PT_ENTRY_NULL)
return 0;
- return i386_trunc_page(
-#ifdef MACH_PSEUDO_PHYS
- ma_to_pa
-#endif /* MACH_PSEUDO_PHYS */
- (*pte)) | (addr & INTEL_OFFMASK);
+ return pte_to_pa(*pte) | (addr & INTEL_OFFMASK);
}