mirror of
https://github.com/qemu/qemu.git
synced 2025-09-26 16:12:25 +00:00
qemu/atomic: Rename atomic128-cas.h headers using .h.inc suffix
Since commit139c1837db
("meson: rename included C source files to .c.inc"), QEMU standard procedure for included C files is to use *.c.inc. Besides, since commit6a0057aa22
("docs/devel: make a statement about includes") this is documented in the Coding Style: If you do use template header files they should be named with the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are being included for expansion. Therefore rename 'atomic128-cas.h' as 'atomic128-cas.h.inc'. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20241212141018.59428-2-philmd@linaro.org>
This commit is contained in:
parent
b73f58496d
commit
1560696540
@ -13,7 +13,7 @@
|
||||
|
||||
/* Through gcc 10, aarch64 has no support for 128-bit atomics. */
|
||||
#if defined(CONFIG_ATOMIC128) || defined(CONFIG_CMPXCHG128)
|
||||
#include "host/include/generic/host/atomic128-cas.h"
|
||||
#include "host/include/generic/host/atomic128-cas.h.inc"
|
||||
#else
|
||||
static inline Int128 atomic16_cmpxchg(Int128 *ptr, Int128 cmp, Int128 new)
|
||||
{
|
||||
|
@ -58,7 +58,7 @@
|
||||
* Therefore, special case each platform.
|
||||
*/
|
||||
|
||||
#include "host/atomic128-cas.h"
|
||||
#include "host/atomic128-cas.h.inc"
|
||||
#include "host/atomic128-ldst.h"
|
||||
|
||||
#endif /* QEMU_ATOMIC128_H */
|
||||
|
Loading…
Reference in New Issue
Block a user