Fixed the check for the MEM_TOP_DOWN flag in MmMapViewOfSection.

svn path=/trunk/; revision=18882
This commit is contained in:
Hartmut Birr 2005-10-30 13:55:28 +00:00
parent 34e6e97b69
commit c6d9a617be

View file

@ -4520,7 +4520,7 @@ MmMapViewOfSection(IN PVOID SectionObject,
*ViewSize,
Protect,
ViewOffset,
(AllocationType & MEM_TOP_DOWN));
(AllocationType & MEM_TOP_DOWN) == MEM_TOP_DOWN);
MmUnlockSectionSegment(Section->Segment);
if (!NT_SUCCESS(Status))
{