Alex Ionescu <ionucu@videotron.ca>

Fix wrong assertion.

svn path=/trunk/; revision=13970
This commit is contained in:
Thomas Bluemel 2005-03-12 17:02:43 +00:00
parent f954a88f34
commit 62fe406292

View file

@ -178,7 +178,7 @@ KiAcquireSpinLock(PKSPIN_LOCK SpinLock)
* FIXME: This depends on gcc assembling this test to a single load from
* the spinlock's value.
*/
ASSERT(*SpinLock == 0 || 1);
ASSERT(*SpinLock == 0 || *SpinLock == 1);
while ((i = InterlockedExchangeUL(SpinLock, 1)) == 1)
{