diff options
-rw-r--r-- | i386/i386/phys.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/i386/i386/phys.c b/i386/i386/phys.c index 925593b..ed4a309 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); } |