mirror of https://github.com/acidanthera/audk.git
Add volatile to modify LockValue in AcquireLockOrFail().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2006 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0f2da7f1d3
commit
2d57c546e0
|
@ -236,7 +236,7 @@ AcquireSpinLockOrFail (
|
|||
IN OUT SPIN_LOCK *SpinLock
|
||||
)
|
||||
{
|
||||
SPIN_LOCK LockValue;
|
||||
volatile SPIN_LOCK LockValue;
|
||||
|
||||
ASSERT (SpinLock != NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue