[NTOS:MM] Comment out debug code for x86 that should not run on x64
[reactos.git] / ntoskrnl / mm / ARM3 / mminit.c
index c92db6c..0ed42eb 100644 (file)
@@ -2118,6 +2118,7 @@ MmArmInitSystem(IN ULONG Phase,
         TestPte = MiProtoPteToPte(&TempPte);
         ASSERT(PointerPte == TestPte);
 
+#ifndef _M_AMD64 // Not working on x64 for obvoius reason
         /* Try a bunch of random addresses near the end of the address space */
         PointerPte = (PMMPTE)0xFFFC8000;
         for (j = 0; j < 20; j += 1)
@@ -2133,6 +2134,7 @@ MmArmInitSystem(IN ULONG Phase,
         MI_MAKE_SUBSECTION_PTE(&TempPte, PointerPte);
         TestPte = MiSubsectionPteToSubsection(&TempPte);
         ASSERT(PointerPte == TestPte);
+#endif
 #endif
 
         /* Loop all 8 standby lists */