]> Git Repo - qemu.git/commit
qemu/atomic: Drop special case for unsupported compiler
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 10 Dec 2020 13:47:40 +0000 (17:47 +0400)
committerPaolo Bonzini <[email protected]>
Tue, 15 Dec 2020 17:52:07 +0000 (12:52 -0500)
commit6a4757fe51a1c5ea31f33d8a83c03387302ac2d7
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é <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-Id: <20201210134752[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
include/qemu/atomic.h
This page took 0.025842 seconds and 4 git commands to generate.