Use PROCESSOR_FEATURE_MAX instead of PROCESSOR_FEATURES_MAX. The latter is not official and a useless ducpliate. Use LARGE_INTEGER instead of TIME in ex/sysinfo.c
Modified: trunk/reactos/include/napi/shared_data.h
Modified: trunk/reactos/lib/kernel32/misc/sysinfo.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c

Modified: trunk/reactos/include/napi/shared_data.h
--- trunk/reactos/include/napi/shared_data.h	2005-01-01 02:08:13 UTC (rev 12677)
+++ trunk/reactos/include/napi/shared_data.h	2005-01-01 04:05:42 UTC (rev 12678)
@@ -13,8 +13,6 @@
 #define PF_PAE_ENABLED                      9
 #define PF_XMMI64_INSTRUCTIONS_AVAILABLE   10
 
-#define PROCESSOR_FEATURES_MAX             64
-
 typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE
 {
    StandardDesign,

Modified: trunk/reactos/lib/kernel32/misc/sysinfo.c
--- trunk/reactos/lib/kernel32/misc/sysinfo.c	2005-01-01 02:08:13 UTC (rev 12677)
+++ trunk/reactos/lib/kernel32/misc/sysinfo.c	2005-01-01 04:05:42 UTC (rev 12678)
@@ -1,4 +1,4 @@
-/* $Id: sysinfo.c,v 1.14 2004/09/21 22:08:18 weiden Exp $
+/* $Id$
  *
  * reactos/lib/kernel32/misc/sysinfo.c
  *
@@ -157,7 +157,7 @@
 BOOL STDCALL
 IsProcessorFeaturePresent(DWORD ProcessorFeature)
 {
-  if (ProcessorFeature >= PROCESSOR_FEATURES_MAX)
+  if (ProcessorFeature >= PROCESSOR_FEATURE_MAX)
     return(FALSE);
 
   return((BOOL)SharedUserData->ProcessorFeatures[ProcessorFeature]);

Modified: trunk/reactos/ntoskrnl/ex/init.c
--- trunk/reactos/ntoskrnl/ex/init.c	2005-01-01 02:08:13 UTC (rev 12677)
+++ trunk/reactos/ntoskrnl/ex/init.c	2005-01-01 04:05:42 UTC (rev 12678)
@@ -55,7 +55,7 @@
 BOOLEAN STDCALL
 ExIsProcessorFeaturePresent(IN ULONG ProcessorFeature)
 {
-  if (ProcessorFeature >= PROCESSOR_FEATURES_MAX)
+  if (ProcessorFeature >= PROCESSOR_FEATURE_MAX)
     return(FALSE);
 
   return(SharedUserData->ProcessorFeatures[ProcessorFeature]);

Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
--- trunk/reactos/ntoskrnl/ex/sysinfo.c	2005-01-01 02:08:13 UTC (rev 12677)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c	2005-01-01 04:05:42 UTC (rev 12678)
@@ -1,4 +1,4 @@
-/* $Id: sysinfo.c,v 1.62 2004/12/16 22:36:09 gvg Exp $
+/* $Id$
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -723,7 +723,7 @@
 		= (PSYSTEM_PROCESSORTIME_INFO) Buffer;
 
         ULONG i;
-	TIME CurrentTime;
+	LARGE_INTEGER CurrentTime;
 	PKPCR Pcr;
 
 	*ReqSize = KeNumberProcessors * sizeof (SYSTEM_PROCESSORTIME_INFO);