Author: tkreuzer
Date: Mon Dec 15 06:56:15 2008
New Revision: 38105
URL:
http://svn.reactos.org/svn/reactos?rev=38105&view=rev
Log:
Use KeGetCurrentPrcb() instead of KeGetPcr()->Prcb / KeGetPcr()->CurrentPrcb
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] Mon Dec 15
06:56:15 2008
@@ -905,11 +905,7 @@
}
CurrentTime.QuadPart = KeQueryInterruptTime();
-#ifndef _M_AMD64
- Prcb = KeGetPcr()->Prcb;
-#else
- Prcb = KeGetPcr()->CurrentPrcb;
-#endif
+ Prcb = KeGetCurrentPrcb();
for (i = 0; i < KeNumberProcessors; i++)
{
@@ -1967,4 +1963,4 @@
return KeGetCurrentProcessorNumber();
}
-/* EOF */
+/* EOF */