[ros-diffs] [navaraf] 23015: Fix the RET insns for @InterlockedCompareExchange at 12. Spotted by Alex & Aleksey.

navaraf at svn.reactos.org navaraf at svn.reactos.org
Wed Jul 12 00:45:45 CEST 2006


Author: navaraf
Date: Wed Jul 12 02:45:45 2006
New Revision: 23015

URL: http://svn.reactos.org/svn/reactos?rev=23015&view=rev
Log:
Fix the RET insns for @InterlockedCompareExchange at 12. Spotted by Alex & Aleksey.

Modified:
    trunk/reactos/ntoskrnl/ex/i386/fastinterlck_asm.S

Modified: trunk/reactos/ntoskrnl/ex/i386/fastinterlck_asm.S
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/i386/fastinterlck_asm.S?rev=23015&r1=23014&r2=23015&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ex/i386/fastinterlck_asm.S (original)
+++ trunk/reactos/ntoskrnl/ex/i386/fastinterlck_asm.S Wed Jul 12 02:45:45 2006
@@ -599,7 +599,7 @@
     LOCK cmpxchg dword ptr [ecx], edx
 
     /* Return */
-    ret
+    ret 4
 
 /*PVOID
  *FASTCALL




More information about the Ros-diffs mailing list