mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
revert 44509.
not needed anymore. svn path=/branches/ros-amd64-bringup/; revision=44624
This commit is contained in:
@@ -117,9 +117,6 @@ KiAcquireFastMutex(IN PFAST_MUTEX FastMutex)
|
||||
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 @@ KiAcquireGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
|
||||
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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user