attempt to fix kernel build.
authorSamuel Serapion <samuel.serapion@gmail.com>
Mon, 15 Dec 2008 04:19:03 +0000 (04:19 +0000)
committerSamuel Serapion <samuel.serapion@gmail.com>
Mon, 15 Dec 2008 04:19:03 +0000 (04:19 +0000)
svn path=/branches/ros-amd64-bringup/; revision=38099

reactos/ntoskrnl/ex/sysinfo.c

index 748d303..7177099 100644 (file)
@@ -905,7 +905,12 @@ QSI_DEF(SystemProcessorPerformanceInformation)
     }
 
     CurrentTime.QuadPart = KeQueryInterruptTime();
+#ifndef _M_AMD64
     Prcb = KeGetPcr()->Prcb;
+#else
+    Prcb = KeGetPcr()->CurrentPrcb;
+#endif
+
     for (i = 0; i < KeNumberProcessors; i++)
     {
         /* Calculate total user and kernel times */