From 6552b1085ccb069568146fad35862fea9296fa0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 26 Mar 2012 23:38:14 +0200 Subject: [PATCH] Fix a typo This code will go away anyway, but fix it for reference. --- src/system/kernel/arch/m68k/arch_vm_translation_map_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/arch/m68k/arch_vm_translation_map_impl.cpp b/src/system/kernel/arch/m68k/arch_vm_translation_map_impl.cpp index fc7e7d8ab4..51d3fb7495 100644 --- a/src/system/kernel/arch/m68k/arch_vm_translation_map_impl.cpp +++ b/src/system/kernel/arch/m68k/arch_vm_translation_map_impl.cpp @@ -354,7 +354,7 @@ destroy_tmap(vm_translation_map *map) return; } // suboptimal (done 8 times) - pgdir_pn = PRE_TO_PA(map->arch_data->rtdir_virt[i]); + pgdir_pn = PRE_TO_PN(map->arch_data->rtdir_virt[i]); dirpage = vm_lookup_page(pgdir_pn); pgdir = &(((page_directory_entry *)dirpage)[i%NUM_DIRTBL_PER_PAGE]);