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=489…
==============================================================================
--- 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
¤t->BaseAddress,
Bcb->CacheSegmentSize,
PAGE_READWRITE,