Commit in reactos/ntoskrnl/include/internal/i386 on MAIN
ps.h+81.14 -> 1.15
- Simplified the definition of KeGetCurrentKPCR for the UP target.

reactos/ntoskrnl/include/internal/i386
ps.h 1.14 -> 1.15
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
CVSspam 0.2.8