Merge trunk HEAD (r46369)
[reactos.git] / reactos / ntoskrnl / mm / ARM3 / iosup.c
index c4e6dd4..b9f7eb6 100644 (file)
@@ -120,7 +120,7 @@ MmMapIoSpace(IN PHYSICAL_ADDRESS PhysicalAddress,
     //
     // Get the template and configure caching
     //
-    TempPte = HyperTemplatePte;
+    TempPte = ValidKernelPte;
     switch (CacheAttribute)
     {
         case MiNonCached: