Author: sserapion
Date: Sun Dec 14 22:19:03 2008
New Revision: 38099
URL:
http://svn.reactos.org/svn/reactos?rev=38099&view=rev
Log:
attempt to fix kernel build.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] Sun Dec 14
22:19:03 2008
@@ -905,7 +905,12 @@
}
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 */