mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:12:59 +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
|
#endif
|
||||||
/* Clear the lock */
|
/* Clear the lock */
|
||||||
|
#ifdef _WIN64
|
||||||
|
InterlockedAnd64((PLONG64)SpinLock, 0);
|
||||||
|
#else
|
||||||
InterlockedAnd((PLONG)SpinLock, 0);
|
InterlockedAnd((PLONG)SpinLock, 0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue