qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts
commit374aae653499f4d405caf32b7fff0c8639113fe4
authorRichard Henderson <rth@twiddle.net>
Wed, 26 Apr 2017 17:41:55 +0000 (26 10:41 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 5 Jun 2017 16:25:42 +0000 (5 09:25 -0700)
tree5da150e4bd37fb20e9a1965ccdd4cd976eaede16
parentf1079bb8f9a28495937408acc60a681a7b2536a8
qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts

We need to coordinate with the TCG_OVERSIZED_GUEST test in cputlb.c,
and allow 64-bit atomics even though sizeof(void *) == 4.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/qemu/atomic.h