Commit in reactos/ntoskrnl/include/internal/i386 on MAIN | |||
ps.h | +8 | 1.14 -> 1.15 |
- Simplified the definition of KeGetCurrentKPCR for the UP target.
diff -u -r1.14 -r1.15 --- ps.h 17 Oct 2004 10:53:05 -0000 1.14 +++ ps.h 17 Oct 2004 13:26:48 -0000 1.15 @@ -246,6 +246,8 @@
#ifndef __USE_W32API
+#ifdef MP +
static inline PKPCR KeGetCurrentKPCR(VOID) { ULONG value;
@@ -264,6 +266,12 @@
return((PKPCR)value); }
+#else + +#define KeGetCurrentKPCR(X) ((PKPCR)KPCR_BASE) + +#endif +
#endif /* __USE_W32API */ VOID