[CRIU] [PATCH 1/2] atomic: atomic_set should return a previous value
Andrey Vagin
avagin at openvz.org
Tue Jan 29 02:06:32 EST 2013
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
arch/x86/include/asm/atomic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/atomic.h b/arch/x86/include/asm/atomic.h
index 273d595..9c55700 100644
--- a/arch/x86/include/asm/atomic.h
+++ b/arch/x86/include/asm/atomic.h
@@ -14,6 +14,7 @@ typedef struct {
: "+r" (ret__), "+m" ((mem)->counter) \
: \
: "cc", "memory"); \
+ ret__; \
})
#define atomic_get(mem) \
--
1.7.11.7
More information about the CRIU
mailing list