Author: tkreuzer
Date: Fri Jul 16 16:30:05 2010
New Revision: 48084
URL:
http://svn.reactos.org/svn/reactos?rev=48084&view=rev
Log:
[NTOSKRNL]
#if out another broken C_ASSERT on amd64
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pool.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] Fri Jul 16 16:30:05 2010
@@ -333,8 +333,10 @@
//
// Save it into our double-buffered system page directory
//
+#ifndef _M_AMD64
/* This seems to be making the assumption that one PDE is one page long
*/
C_ASSERT(PAGE_SIZE == (PD_COUNT * (sizeof(MMPTE) * PDE_COUNT)));
+#endif
MmSystemPagePtes[(ULONG_PTR)PointerPte & (PAGE_SIZE - 1) /
sizeof(MMPTE)] = TempPte;