Author: sir_richard
Date: Thu Feb 11 19:31:54 2010
New Revision: 45574
URL:
http://svn.reactos.org/svn/reactos?rev=45574&view=rev
Log:
[NTOS]: Fix broken MI_PFNENTRY_TO_PFN macro.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
Modified: trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/miarm.h?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] Thu Feb 11 19:31:54 2010
@@ -213,7 +213,7 @@
extern ULONG MmLargeStackSize;
#define MI_PFN_TO_PFNENTRY(x) (&MmPfnDatabase[1][x])
-#define MI_PFNENTRY_TO_PFN(x) (Pfn - &MmPfnDatabase[1])
+#define MI_PFNENTRY_TO_PFN(x) (x - MmPfnDatabase[1])
NTSTATUS
NTAPI