qemu/atomic: Drop special case for unsupported compiler
commit6a4757fe51a1c5ea31f33d8a83c03387302ac2d7
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 10 Dec 2020 13:47:40 +0000 (10 17:47 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 17:52:07 +0000 (15 12:52 -0500)
tree14edc40213d783873b24e4efa468f7010371323b
parent98199a654c5425d37293b63ae329d3256bfbcc00
qemu/atomic: Drop special case for unsupported compiler

Since commit efc6c070aca ("configure: Add a test for the
minimum compiler version") the minimum compiler version
required for GCC is 4.8, which has the GCC BZ#36793 bug fixed.

We can safely remove the special case introduced in commit
a281ebc11a6 ("virtio: add missing mb() on notification").

With clang 3.4, __ATOMIC_RELAXED is defined, so the chunk to
remove (which is x86-specific), isn't reached either.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201210134752.780923-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/atomic.h