Author: jimtabor
Date: Thu Mar 6 03:58:07 2008
New Revision: 32578
URL:
http://svn.reactos.org/svn/reactos?rev=3D32578&view=3Drev
Log:
Fix Magnus change. Part II.
Modified:
trunk/reactos/ntoskrnl/mm/virtual.c
Modified: trunk/reactos/ntoskrnl/mm/virtual.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/virtual.c=
?rev=3D32578&r1=3D32577&r2=3D32578&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/ntoskrnl/mm/virtual.c (original)
+++ trunk/reactos/ntoskrnl/mm/virtual.c Thu Mar 6 03:58:07 2008
@@ -962,9 +962,6 @@
SIZE_T Length,
ULONG Mode)
{
-
- if ( ( (DWORD)Address + Length > (DWORD)MmHighestUserAddress) || =
- ( (DWORD)Address + Length <=3D (DWORD)Address ) )
/* Only works for user space */
if (((ULONG_PTR)Address > (ULONG_PTR)Address + Length) ||
((ULONG_PTR)MmHighestUserAddress < (ULONG_PTR)Address + Length))