From 4d7c45a7f1b9d7b554c8b12282b58554d3c0ee59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 14 Mar 2007 15:47:11 +0000 Subject: [PATCH] Fixed PPC build (still using the older compiler, though). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20384 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../arch/ppc/arch_vm_translation_map.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp b/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp index 767c2dbc26..c9654082ab 100644 --- a/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp +++ b/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp @@ -337,23 +337,6 @@ unmap_tmap(vm_translation_map *map, addr_t start, addr_t end) } -static status_t -query_tmap_interrupt(vm_translation_map *map, addr_t va, addr_t *_outPhysical) -{ - page_table_entry *entry; - - // default the flags to not present - *_outPhysical = 0; - - entry = lookup_page_table_entry(map, va); - if (entry == NULL) - return B_ERROR; - - *_outPhysical = entry->physical_page_number * B_PAGE_SIZE; - return B_OK; -} - - static status_t query_tmap(vm_translation_map *map, addr_t va, addr_t *_outPhysical, uint32 *_outFlags) { @@ -474,7 +457,7 @@ static vm_translation_map_ops tmap_ops = { map_tmap, unmap_tmap, query_tmap, - query_tmap_interrupt, + query_tmap, get_mapped_size_tmap, protect_tmap, clear_flags_tmap,