Signed-off-by: Andrea Bastoni <[email protected]>
---
 hypervisor/arch/x86/include/asm/bitops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hypervisor/arch/x86/include/asm/bitops.h 
b/hypervisor/arch/x86/include/asm/bitops.h
index 6d265bca..140aad3a 100644
--- a/hypervisor/arch/x86/include/asm/bitops.h
+++ b/hypervisor/arch/x86/include/asm/bitops.h
@@ -51,7 +51,7 @@ static inline int atomic_test_and_set_bit(int nr, volatile 
unsigned long *addr)
 {
        int oldbit;
 
-       asm volatile("lock bts %2,%1\n\t"
+       asm volatile("lock btsq %2,%1\n\t"
                     "sbb %0,%0" : "=r" (oldbit), BITOP_ADDR(addr)
                     : "Ir" (nr) : "memory");
 
-- 
2.28.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20201021145404.100463-25-andrea.bastoni%40tum.de.

Reply via email to