Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1
2007-04-04 06:22:45 +00:00
parent 189985640d
commit 55bfb04e78

View File

@@ -16,8 +16,8 @@
#include "BaseLibInternals.h"
#define SPIN_LOCK_RELEASED ((SPIN_LOCK)1)
#define SPIN_LOCK_ACQUIRED ((SPIN_LOCK)2)
#define SPIN_LOCK_RELEASED ((UINTN) 1)
#define SPIN_LOCK_ACQUIRED ((UINTN) 2)
/**
Retrieves the architecture specific spin lock alignment requirements for