From 9ba2869c7ec7567eabc15fe4c2b13d8c774ce282 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Fri, 14 Oct 2016 14:47:33 +0800 Subject: 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 Reviewed-by: Jeff Fan --- .../BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg') 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 -- cgit v1.2.3