Re: [Qemu-devel] [PATCH v4 05/14] atomics: add atomic_test_and_set

2016-05-03 Thread Richard Henderson
On 04/29/2016 05:33 PM, Emilio G. Cota wrote: This new helper expands to __atomic_test_and_set where available; otherwise it expands to atomic_xchg. Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson r~

[Qemu-devel] [PATCH v4 05/14] atomics: add atomic_test_and_set

2016-04-29 Thread Emilio G. Cota
This new helper expands to __atomic_test_and_set where available; otherwise it expands to atomic_xchg. Signed-off-by: Emilio G. Cota --- include/qemu/atomic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/qemu/atomic.h b/include/qemu/atomic.h index 5bc4d6c..6132dad 100644 --- a/i