Author: akhaldi
Date: Sat May 22 16:24:06 2010
New Revision: 47303
URL:
http://svn.reactos.org/svn/reactos?rev=47303&view=rev
Log:
[NTOSKRNL]
- Use MiGetPdeOffset macro instead of ADDR_TO_PDE_OFFSET.
Modified:
branches/header-work/ntoskrnl/mm/ARM3/mminit.c
Modified: branches/header-work/ntoskrnl/mm/ARM3/mminit.c
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/ntoskrnl/mm/ARM3/mm…
==============================================================================
--- branches/header-work/ntoskrnl/mm/ARM3/mminit.c [iso-8859-1] (original)
+++ branches/header-work/ntoskrnl/mm/ARM3/mminit.c [iso-8859-1] Sat May 22 16:24:06 2010
@@ -1202,7 +1202,7 @@
/* Check how many PDEs the heap has */
PointerPde = MiAddressToPde(BaseAddress);
- PdeCount = PDE_COUNT - ADDR_TO_PDE_OFFSET(BaseAddress);
+ PdeCount = PDE_COUNT - MiGetPdeOffset(BaseAddress);
for (i = 0; i < PdeCount; i++)
{
/* Does the HAL own this mapping? */