]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg BaseSynchronizationLib InterlockedCompareExchange64: Fix ICC build
authorLiming Gao <liming.gao@intel.com>
Fri, 14 Oct 2016 06:47:33 +0000 (14:47 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 18 Oct 2016 02:01:27 +0000 (10:01 +0800)
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>
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm

index ee63ff7f12ef78cc1f99e316f856fd944c065f5b..206de407aed62438ae1882b31d4547b77ef21080 100644 (file)
@@ -41,7 +41,7 @@ ASM_PFX(InternalSyncCompareExchange64):
     mov     edx, [esp + 20]\r
     mov     ebx, [esp + 24]\r
     mov     ecx, [esp + 28]\r
-    lock    cmpxchg8b   qword [esi]\r
+    lock    cmpxchg8b [esi]\r
     pop     ebx\r
     pop     esi\r
     ret\r