summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/XenBusDxe
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2014-11-14 17:35:49 +0000
committerlersek <lersek@Edk2>2014-11-14 17:35:49 +0000
commit46133008955b67110fff82b2f3af123143e492a1 (patch)
tree96505dbc302654e9bbc25011316da73a6ada8973 /OvmfPkg/XenBusDxe
parent860088f298de6acb26ea007e1f72db23fc613951 (diff)
downloadedk2-46133008955b67110fff82b2f3af123143e492a1.tar.gz
edk2-46133008955b67110fff82b2f3af123143e492a1.tar.bz2
edk2-46133008955b67110fff82b2f3af123143e492a1.zip
OvmfPkg/XenBusDxe: Fix a nasm warning about instruction not lockable.
The fix, having "lock" and the locked instruction on the same line in the source. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Build-tested-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16394 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/XenBusDxe')
-rw-r--r--OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm3
1 files changed, 1 insertions, 2 deletions
diff --git a/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm b/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
index 38ac5490cb..a4859a62a2 100644
--- a/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
+++ b/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
@@ -9,8 +9,7 @@ SECTION .text
; );
global ASM_PFX(TestAndClearBit)
ASM_PFX(TestAndClearBit):
- lock
- btr [rdx], ecx
+ lock btr [rdx], ecx
sbb eax, eax
ret