diff options
author | Liming Gao <liming.gao@intel.com> | 2016-10-14 14:47:33 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-10-18 10:01:27 +0800 |
commit | 9ba2869c7ec7567eabc15fe4c2b13d8c774ce282 (patch) | |
tree | e717fa1bd71b15dba53761a45e31bb4ac5c98608 | |
parent | 07309c3ddc2305b050989e26f6717e2392eedb3d (diff) | |
download | edk2-platforms-9ba2869c7ec7567eabc15fe4c2b13d8c774ce282.tar.xz |
MdePkg BaseSynchronizationLib InterlockedCompareExchange64: Fix ICC build
Remove extra qword in nasm code to make it pass build.
This file is only built in INTEL ICC compiler. So, there is missing
build check for it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
-rw-r--r-- | MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm index ee63ff7f12..206de407ae 100644 --- a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm +++ b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm @@ -41,7 +41,7 @@ ASM_PFX(InternalSyncCompareExchange64): mov edx, [esp + 20]
mov ebx, [esp + 24]
mov ecx, [esp + 28]
- lock cmpxchg8b qword [esi]
+ lock cmpxchg8b [esi]
pop ebx
pop esi
ret
|