- Simplified the definition of KeGetCurrentKPCR for the UP target.

svn path=/trunk/; revision=11315
This commit is contained in:
Hartmut Birr 2004-10-17 13:26:48 +00:00
parent 108bfdf09f
commit 70919642d8

View file

@ -246,6 +246,8 @@ typedef struct _KPCR {
#ifndef __USE_W32API
#ifdef MP
static inline PKPCR KeGetCurrentKPCR(VOID)
{
ULONG value;
@ -264,6 +266,12 @@ static inline PKPCR KeGetCurrentKPCR(VOID)
return((PKPCR)value);
}
#else
#define KeGetCurrentKPCR(X) ((PKPCR)KPCR_BASE)
#endif
#endif /* __USE_W32API */
VOID