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
; );\r
global ASM_PFX(TestAndClearBit)\r
ASM_PFX(TestAndClearBit):\r
- lock\r
- btr [rdx], ecx\r
+ lock btr [rdx], ecx\r
sbb eax, eax\r
ret\r
\r