Alex Ionescu <ionucu(a)videotron.ca>
Fix wrong assertion.
Modified: trunk/reactos/ntoskrnl/ke/spinlock.c
_____
Modified: trunk/reactos/ntoskrnl/ke/spinlock.c
--- trunk/reactos/ntoskrnl/ke/spinlock.c 2005-03-12 16:01:30 UTC
(rev 13969)
+++ trunk/reactos/ntoskrnl/ke/spinlock.c 2005-03-12 17:02:43 UTC
(rev 13970)
@@ -178,7 +178,7 @@
* 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)
{
Show replies by date