Add volatile to modify LockValue in ReleaseSpinLock().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2008 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24 2006-11-24 02:27:09 +00:00
parent 733f4094ee
commit 9710b9a67c
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ ReleaseSpinLock (
IN OUT SPIN_LOCK *SpinLock
)
{
SPIN_LOCK LockValue;
volatile SPIN_LOCK LockValue;
ASSERT (SpinLock != NULL);