[NTOS:KE] Fix KxReleaseSpinLock for 64 bit SMP builds

This commit is contained in:
Timo Kreuzer 2021-06-06 14:46:38 +02:00
parent 2ed56fa794
commit 62f62da8ba

View file

@ -97,7 +97,11 @@ KxReleaseSpinLock(IN PKSPIN_LOCK SpinLock)
}
#endif
/* Clear the lock */
#ifdef _WIN64
InterlockedAnd64((PLONG64)SpinLock, 0);
#else
InterlockedAnd((PLONG)SpinLock, 0);
#endif
}
#endif