summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S')
-rw-r--r--MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S
index e1d3a02f2d..873dd63f8f 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, Intel Corporation
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -31,6 +31,6 @@
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(InternalSyncIncrement)
ASM_PFX(InternalSyncIncrement):
- lock incl (%rcx)
- mov (%rcx), %eax
+ lock/incl (%rcx)
+ mov (%rcx), %eax
ret