Files
xemu/include/qemu
Richard Henderson 23c9b7e0f3 include/qemu/lockable: Use _Generic instead of QEMU_GENERIC
This is both more and less complicated than our expansion
using __builtin_choose_expr and __builtin_types_compatible_p.

The expansion through QEMU_MAKE_LOCKABLE_ doesn't work because
we're not emumerating all of the types within the same _Generic,
which results in errors about unhandled cases.  We must also
handle void* explicitly, so that the NULL constant can be used.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210614233143.1221879-7-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-16 15:03:26 +02:00
..
2020-11-03 09:42:52 -05:00
2020-12-10 12:15:18 -05:00
2020-10-15 16:06:27 +02:00
2021-02-18 07:48:22 -08:00
2021-05-11 04:11:14 -04:00
2020-12-10 17:16:44 +01:00
2021-05-04 14:15:35 +02:00
2021-04-30 12:27:47 +02:00
2021-04-01 15:27:44 +04:00