[ros-diffs] [mbosma] 25346: Accidentally committed this.
mbosma at svn.reactos.org
mbosma at svn.reactos.org
Sun Jan 7 19:17:55 CET 2007
Author: mbosma
Date: Sun Jan 7 21:17:55 2007
New Revision: 25346
URL: http://svn.reactos.org/svn/reactos?rev=25346&view=rev
Log:
Accidentally committed this.
Modified:
branches/cache_manager_rewrite/mm/rmap.c
Modified: branches/cache_manager_rewrite/mm/rmap.c
URL: http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/rmap.c?rev=25346&r1=25345&r2=25346&view=diff
==============================================================================
--- branches/cache_manager_rewrite/mm/rmap.c (original)
+++ branches/cache_manager_rewrite/mm/rmap.c Sun Jan 7 21:17:55 2007
@@ -362,26 +362,6 @@
current_entry = current_entry->Next;
}
ExReleaseFastMutex(&RmapListLock);
-}
-
-ULONG
-NTAPI
-MmGetRmapCount(PFN_TYPE Page)
-{
- ULONG Count = 0;
- PMM_RMAP_ENTRY current_entry;
-
- ExAcquireFastMutex(&RmapListLock);
- current_entry = MmGetRmapListHeadPage(Page);
-
- while (current_entry)
- {
- Count++;
- current_entry = current_entry->Next;
- }
- ExReleaseFastMutex(&RmapListLock);
-
- return Count;
}
BOOLEAN
More information about the Ros-diffs
mailing list