[ros-diffs] [jgardou] 54393: [NTOSKRNL/MM] - Fix bad comparison

jgardou at svn.reactos.org jgardou at svn.reactos.org
Tue Nov 15 23:55:38 UTC 2011


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?rev=54393&r1=54392&r2=54393&view=diff
==============================================================================
--- 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);




More information about the Ros-diffs mailing list