mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
- Simplified the definition of KeGetCurrentKPCR for the UP target.
svn path=/trunk/; revision=11315
This commit is contained in:
parent
108bfdf09f
commit
70919642d8
1 changed files with 8 additions and 0 deletions
|
@ -246,6 +246,8 @@ typedef struct _KPCR {
|
||||||
|
|
||||||
#ifndef __USE_W32API
|
#ifndef __USE_W32API
|
||||||
|
|
||||||
|
#ifdef MP
|
||||||
|
|
||||||
static inline PKPCR KeGetCurrentKPCR(VOID)
|
static inline PKPCR KeGetCurrentKPCR(VOID)
|
||||||
{
|
{
|
||||||
ULONG value;
|
ULONG value;
|
||||||
|
@ -264,6 +266,12 @@ static inline PKPCR KeGetCurrentKPCR(VOID)
|
||||||
return((PKPCR)value);
|
return((PKPCR)value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define KeGetCurrentKPCR(X) ((PKPCR)KPCR_BASE)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __USE_W32API */
|
#endif /* __USE_W32API */
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Reference in a new issue