Fix swapped arguments in queued spinlock release
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 30s
Builds / ExectOS (amd64, release) (push) Successful in 41s
Builds / ExectOS (i686, debug) (push) Successful in 30s
Builds / ExectOS (i686, release) (push) Successful in 37s

This commit is contained in:
2026-07-01 18:45:03 +02:00
parent 5cd52a4a12
commit 2b7fc5b41d

View File

@@ -263,7 +263,7 @@ KE::SpinLock::ReleaseQueuedSpinLock(IN PKSPIN_LOCK_QUEUE LockQueue)
if(!NextLockQueue) if(!NextLockQueue)
{ {
/* Remove the lock */ /* Remove the lock */
if(RTL::Atomic::CompareExchangePointer((PVOID *)LockQueue->Lock, NULLPTR, LockQueue) == LockQueue) if(RTL::Atomic::CompareExchangePointer((PVOID *)LockQueue->Lock, LockQueue, NULLPTR) == LockQueue)
{ {
/* Lock removed, exit */ /* Lock removed, exit */
return; return;