summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S')
-rw-r--r--MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
index 86b338e418..7b7b8e6a41 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
@@ -34,5 +34,5 @@
ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange64)
ASM_PFX(InternalSyncCompareExchange64):
mov %rdx, %rax
- lock cmpxchg %r8,(%rcx)
+ lock/cmpxchg %r8,(%rcx)
ret