[ros-diffs] [ros-arm-bringup] 41925: Fix some interlock routine definitions on platforms that use it (not x86)

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Sun Jul 12 12:46:00 CEST 2009


Author: ros-arm-bringup
Date: Sun Jul 12 14:45:59 2009
New Revision: 41925

URL: http://svn.reactos.org/svn/reactos?rev=41925&view=rev
Log:
Fix some interlock routine definitions on platforms that use it (not x86)

Modified:
    trunk/reactos/ntoskrnl/ex/fastinterlck.c

Modified: trunk/reactos/ntoskrnl/ex/fastinterlck.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/fastinterlck.c?rev=41925&r1=41924&r2=41925&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ex/fastinterlck.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/fastinterlck.c [iso-8859-1] Sun Jul 12 14:45:59 2009
@@ -19,6 +19,7 @@
 #undef ExInterlockedAddULong
 #undef ExInterlockedIncrementLong
 #undef ExInterlockedDecrementLong
+#undef ExInterlockedAddLargeStatistic
 
 /* FUNCTIONS ******************************************************************/
 
@@ -288,7 +289,7 @@
 
 VOID
 FASTCALL
-ExInterlockedAddLargeStatistic(IN PLARGE_INTEGER Addend,
+ExInterlockedAddLargeStatistic(IN PLONGLONG Addend,
                                IN ULONG Increment)
 {
     UNIMPLEMENTED;
@@ -296,7 +297,7 @@
 
 LONGLONG
 FASTCALL
-ExInterlockedCompareExchange64(IN OUT PLONGLONG Destination,
+ExInterlockedCompareExchange64(IN OUT LONGLONG volatile *Destination,
                                IN PLONGLONG Exchange,
                                IN PLONGLONG Comparand,
                                IN PKSPIN_LOCK Lock)



More information about the Ros-diffs mailing list