mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
Alex Ionescu <ionucu@videotron.ca>
Fix wrong assertion. svn path=/trunk/; revision=13970
This commit is contained in:
parent
f954a88f34
commit
62fe406292
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue