[ros-diffs] [sir_richard] 48986: [NTOS]: Nobody reads/checks for MEMORY_AREA_CACHE_SEGMENT. Might as well just call this zero (no logical change).

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Oct 5 04:53:33 UTC 2010


Author: sir_richard
Date: Tue Oct  5 04:53:32 2010
New Revision: 48986

URL: http://svn.reactos.org/svn/reactos?rev=48986&view=rev
Log:
[NTOS]: Nobody reads/checks for MEMORY_AREA_CACHE_SEGMENT. Might as well just call this zero (no logical change).

Modified:
    trunk/reactos/ntoskrnl/cc/view.c

Modified: trunk/reactos/ntoskrnl/cc/view.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/view.c?rev=48986&r1=48985&r2=48986&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] Tue Oct  5 04:53:32 2010
@@ -685,7 +685,7 @@
   MmLockAddressSpace(MmGetKernelAddressSpace());
   current->BaseAddress = NULL;
   Status = MmCreateMemoryArea(MmGetKernelAddressSpace(),
-			      MEMORY_AREA_CACHE_SEGMENT,
+			      0, // nothing checks for cache_segment mareas, so set to 0
 			      &current->BaseAddress,
 			      Bcb->CacheSegmentSize,
 			      PAGE_READWRITE,




More information about the Ros-diffs mailing list