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…
==============================================================================
--- 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)