diff options
Diffstat (limited to 'i386/intel')
-rw-r--r-- | i386/intel/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index c15538f..9f34f2d 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -868,7 +868,7 @@ void pmap_clear_bootstrap_pagetable(pt_entry_t *base) { #endif /* PAE */ for (i = 0; i < NPTES; i++) { pt_entry_t pde = dir[i]; - unsigned long pfn = mfn_to_pfn(atop(pde)); + unsigned long pfn = atop(pte_to_pa(pde)); void *pgt = (void*) phystokv(ptoa(pfn)); if (pde & INTEL_PTE_VALID) hyp_free_page(pfn, pgt); |