]> xenbits.xensource.com Git - xtf.git/commitdiff
TSX: Fix the encoding of XEND
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Aug 2019 17:46:02 +0000 (18:46 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Aug 2019 17:58:03 +0000 (18:58 +0100)
0xd6 is XTEST, not XEND.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/include/arch/tsx.h

index d99ef16fec47f388f22821b2ecb683011184d478..503f4a3f39ca901e1ae84c4c572c1171541bfd04 100644 (file)
@@ -65,7 +65,7 @@ static inline int _xtest(void)
 
 static inline void _xend(void)
 {
-    asm volatile (".byte 0x0f, 0x01, 0xd6" /* xend */
+    asm volatile (".byte 0x0f, 0x01, 0xd5" /* xend */
                   ::: "memory");
 }