mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Alex Ionescu <[email protected]>
Fix wrong assertion. svn path=/trunk/; revision=13970
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user