diff --git a/src/system/kernel/arch/ppc/Jamfile b/src/system/kernel/arch/ppc/Jamfile index 74ca58d3d7..87d23d3dab 100644 --- a/src/system/kernel/arch/ppc/Jamfile +++ b/src/system/kernel/arch/ppc/Jamfile @@ -1,6 +1,10 @@ SubDir HAIKU_TOP src system kernel arch ppc ; SubDirHdrs $(SUBDIR) $(DOTDOT) generic ; +#UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) ; +# for some reason, this doesn't work +UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_ARCH) ] + [ FDirName kernel boot platform $(HAIKU_BOOT_PLATFORM) ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 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 fbbf30a2be..767c2dbc26 100644 --- a/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp +++ b/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. * * Copyright 2001, Travis Geiselbrecht. All rights reserved. @@ -161,7 +161,8 @@ static void destroy_tmap(vm_translation_map *map) { if (map->map_count > 0) { - panic("vm_translation_map.destroy_tmap: map %p has positive map count %d\n", map, map->map_count); + panic("vm_translation_map.destroy_tmap: map %p has positive map count %ld\n", + map, map->map_count); } // mark the vsid base not in use