From 46133008955b67110fff82b2f3af123143e492a1 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Fri, 14 Nov 2014 17:35:49 +0000 Subject: [PATCH] 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 Build-tested-by: Scott Duplichan Reviewed-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16394 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.39.2