]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 25 Mar 2024 14:30:33 +0000 (15:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (15:31 +0200)
Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057aa22 ("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 'store-insert-al16.h' as 'store-insert-al16.h.inc'
and 'load-extract-al16-al8.h' as 'load-extract-al16-al8.h.inc'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240424173333.96148-3-philmd@linaro.org>

accel/tcg/ldst_atomicity.c.inc
host/include/aarch64/host/load-extract-al16-al8.h.inc [moved from host/include/aarch64/host/load-extract-al16-al8.h with 100% similarity]
host/include/aarch64/host/store-insert-al16.h.inc [moved from host/include/aarch64/host/store-insert-al16.h with 100% similarity]
host/include/generic/host/load-extract-al16-al8.h.inc [moved from host/include/generic/host/load-extract-al16-al8.h with 100% similarity]
host/include/generic/host/store-insert-al16.h.inc [moved from host/include/generic/host/store-insert-al16.h with 100% similarity]
host/include/loongarch64/host/load-extract-al16-al8.h.inc [moved from host/include/loongarch64/host/load-extract-al16-al8.h with 100% similarity]
host/include/loongarch64/host/store-insert-al16.h.inc [moved from host/include/loongarch64/host/store-insert-al16.h with 100% similarity]
host/include/x86_64/host/load-extract-al16-al8.h.inc [moved from host/include/x86_64/host/load-extract-al16-al8.h with 100% similarity]

index 97dae70d5308b61797e6a508c31fdb6093bb2616..134da3c1da6bda846f0998925aeb99880df8b8fa 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#include "host/load-extract-al16-al8.h"
-#include "host/store-insert-al16.h"
+#include "host/load-extract-al16-al8.h.inc"
+#include "host/store-insert-al16.h.inc"
 
 #ifdef CONFIG_ATOMIC64
 # define HAVE_al8          true