fix KeGetCurrentPrcb() inline function

svn path=/branches/ros-amd64-bringup/; revision=34712
This commit is contained in:
Timo Kreuzer
2008-07-23 23:18:45 +00:00
parent 68c4fc0511
commit 08ca7e8b0f
+1 -1
View File
@@ -296,7 +296,7 @@ FORCEINLINE
struct _KPRCB *
KeGetCurrentPrcb(VOID)
{
return (struct _KPRCB *)(ULONG_PTR)__readfsdword(FIELD_OFFSET(KPCR, Prcb));
return (struct _KPRCB *)(ULONG_PTR)__readgsqword(FIELD_OFFSET(KPCR, Prcb));
}
//