On 21.10.20 16:54, Andrea Bastoni wrote:
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");

Applied to next, also explaining why this was harmless so far.

Thanks,
Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

--
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/d83938f7-d23b-8f65-47ea-6340747420d6%40siemens.com.

Reply via email to