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~
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