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
This commit is contained in:
Anthony PERARD 2014-11-14 17:35:49 +00:00 committed by lersek
parent 860088f298
commit 4613300895
1 changed files with 1 additions and 2 deletions

View File

@ -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