mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS:KE] Fix KxReleaseSpinLock for 64 bit SMP builds
This commit is contained in:
parent
2ed56fa794
commit
62f62da8ba
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue