Author: bonefish Date: 2010-06-06 00:20:34 +0200 (Sun, 06 Jun 2010) New Revision: 37025 Changeset: http://dev.haiku-os.org/changeset/37025/haiku Modified: haiku/trunk/headers/private/kernel/vm/VMAddressSpace.h haiku/trunk/headers/private/kernel/vm/VMTranslationMap.h haiku/trunk/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp haiku/trunk/src/system/kernel/arch/x86/X86VMTranslationMap.h haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp haiku/trunk/src/system/kernel/vm/VMAddressSpace.cpp haiku/trunk/src/system/kernel/vm/vm.cpp Log: Removed no-op VMTranslationMap::InitPostSem() and VMAddressSpace::InitPostSem(). Modified: haiku/trunk/headers/private/kernel/vm/VMAddressSpace.h =================================================================== --- haiku/trunk/headers/private/kernel/vm/VMAddressSpace.h 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/headers/private/kernel/vm/VMAddressSpace.h 2010-06-05 22:20:34 UTC (rev 37025) @@ -27,7 +27,6 @@ virtual ~VMAddressSpace(); static status_t Init(); - static status_t InitPostSem(); team_id ID() const { return fID; } addr_t Base() const { return fBase; } Modified: haiku/trunk/headers/private/kernel/vm/VMTranslationMap.h =================================================================== --- haiku/trunk/headers/private/kernel/vm/VMTranslationMap.h 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/headers/private/kernel/vm/VMTranslationMap.h 2010-06-05 22:20:34 UTC (rev 37025) @@ -23,8 +23,6 @@ VMTranslationMap(); virtual ~VMTranslationMap(); - virtual status_t InitPostSem() = 0; - virtual bool Lock() = 0; virtual void Unlock() = 0; Modified: haiku/trunk/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp =================================================================== --- haiku/trunk/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/src/system/kernel/arch/ppc/arch_vm_translation_map.cpp 2010-06-05 22:20:34 UTC (rev 37025) @@ -136,8 +136,6 @@ page_table_entry* LookupPageTableEntry(addr_t virtualAddress); bool RemovePageTableEntry(addr_t virtualAddress); - virtual status_t InitPostSem(); - virtual bool Lock(); virtual void Unlock(); @@ -365,13 +363,6 @@ } -status_t -PPCVMTranslationMap::InitPostSem() -{ - return B_OK; -} - - bool PPCVMTranslationMap::Lock() { Modified: haiku/trunk/src/system/kernel/arch/x86/X86VMTranslationMap.h =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/X86VMTranslationMap.h 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/src/system/kernel/arch/x86/X86VMTranslationMap.h 2010-06-05 22:20:34 UTC (rev 37025) @@ -23,8 +23,6 @@ inline uint32 PhysicalPageDir() const { return fPagingStructures->pgdir_phys; } - virtual status_t InitPostSem(); - virtual bool Lock(); virtual void Unlock(); Modified: haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp 2010-06-05 22:20:34 UTC (rev 37025) @@ -378,13 +378,6 @@ } -status_t -X86VMTranslationMap::InitPostSem() -{ - return B_OK; -} - - /*! Acquires the map's recursive lock, and resets the invalidate pages counter in case it's the first locking recursion. */ Modified: haiku/trunk/src/system/kernel/vm/VMAddressSpace.cpp =================================================================== --- haiku/trunk/src/system/kernel/vm/VMAddressSpace.cpp 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/src/system/kernel/vm/VMAddressSpace.cpp 2010-06-05 22:20:34 UTC (rev 37025) @@ -137,17 +137,6 @@ } -/*static*/ status_t -VMAddressSpace::InitPostSem() -{ - status_t status = sKernelAddressSpace->fTranslationMap->InitPostSem(); - if (status != B_OK) - return status; - - return B_OK; -} - - /*! Deletes all areas in the specified address space, and the address space by decreasing all reference counters. It also marks the address space of being in deletion state, so that no more areas Modified: haiku/trunk/src/system/kernel/vm/vm.cpp =================================================================== --- haiku/trunk/src/system/kernel/vm/vm.cpp 2010-06-05 22:09:24 UTC (rev 37024) +++ haiku/trunk/src/system/kernel/vm/vm.cpp 2010-06-05 22:20:34 UTC (rev 37025) @@ -3713,7 +3713,6 @@ // exists, it isn't that hard to find all of the ones we need to create arch_vm_translation_map_init_post_sem(args); - VMAddressSpace::InitPostSem(); slab_init_post_sem();