summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/InterlockedDecrement.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/InterlockedDecrement.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedDecrement.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedDecrement.S b/MdePkg/Library/BaseLib/X64/InterlockedDecrement.S
index 59ca54bb9f..c3075bf902 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedDecrement.S
+++ b/MdePkg/Library/BaseLib/X64/InterlockedDecrement.S
@@ -29,8 +29,8 @@
# IN UINT32 *Value
# );
#------------------------------------------------------------------------------
-.global _InternalSyncDecrement;
-_InternalSyncDecrement:
+.global ASM_PFX(InternalSyncDecrement)
+ASM_PFX(InternalSyncDecrement):
lock decl (%rcx)
mov (%rcx), %eax
ret