summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S
index cd85279c73..d248a10369 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S
+++ b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.S
@@ -30,8 +30,8 @@
# IN UINT32 ExchangeValue
# );
#------------------------------------------------------------------------------
-.global _InternalSyncCompareExchange32;
-_InternalSyncCompareExchange32:
+.global ASM_PFX(InternalSyncCompareExchange32)
+ASM_PFX(InternalSyncCompareExchange32):
mov %edx, %eax
lock cmpxchg %r8d, (%rcx)
ret