[PATCH] x86, asm: Use CC_SET()/CC_OUT() for __cmpxchg_double

2018-08-20 Thread Uros Bizjak
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() for __cmpxchg_double. Signed-off-by: Uros Bizjak --- arch/x86/include/asm/cmpxchg.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/cmpxchg.h b/arch/x86/include/asm/cmpxchg.h

[PATCH] x86, asm: Use CC_SET()/CC_OUT() for __cmpxchg_double

2018-08-20 Thread Uros Bizjak
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() for __cmpxchg_double. Signed-off-by: Uros Bizjak --- arch/x86/include/asm/cmpxchg.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/cmpxchg.h b/arch/x86/include/asm/cmpxchg.h