Author: jgardou
Date: Tue Nov 15 23:55:38 2011
New Revision: 54393
URL: http://svn.reactos.org/svn/reactos?rev=54393&view=rev
Log:
[NTOSKRNL/MM]
- Fix bad comparison
Modified:
trunk/reactos/ntoskrnl/mm/i386/page.c
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/i386/page.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] Tue Nov 15 23:55:38 2011
@@ -803,7 +803,7 @@
/* flush if currently mapped, just continue editing if hyperspace
* NOTE : Do not call MiFlushTlb, as it will unmap the page table,
* and we might need it afterwards */
- if (Address > MmSystemRangeStart ||
+ if (Address >= MmSystemRangeStart ||
(Pt >= (PULONG)PAGETABLE_MAP && Pt < (PULONG)PAGETABLE_MAP + 1024*1024))
{
KeInvalidateTlbEntry(Addr);