[ros-diffs] [tkreuzer] 44624: revert 44509. not needed anymore.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Dec 16 21:52:53 CET 2009


Author: tkreuzer
Date: Wed Dec 16 21:52:53 2009
New Revision: 44624

URL: http://svn.reactos.org/svn/reactos?rev=44624&view=rev
Log:
revert 44509.
not needed anymore.

Modified:
    branches/ros-amd64-bringup/reactos/ntoskrnl/ke/wait.c

Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/wait.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskrnl/ke/wait.c?rev=44624&r1=44623&r2=44624&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/wait.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/wait.c [iso-8859-1] Wed Dec 16 21:52:53 2009
@@ -117,9 +117,6 @@
                           NULL);
 }
 
-/* We depend on these bits being just right */
-C_ASSERT((GM_LOCK_WAITER_WOKEN * 2) == GM_LOCK_WAITER_INC);
-
 VOID
 FASTCALL
 KiAcquireGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
@@ -127,6 +124,9 @@
     ULONG BitsToRemove, BitsToAdd;
     LONG OldValue, NewValue;
 
+    /* We depend on these bits being just right */
+    C_ASSERT((GM_LOCK_WAITER_WOKEN * 2) == GM_LOCK_WAITER_INC);
+    
     /* Increase the contention count */
     GuardedMutex->Contention++;
     




More information about the Ros-diffs mailing list