aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-03-25 15:30:33 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-26 15:31:37 +0200
commite4751d340a49b117b90a411b179b8c892cf43d85 (patch)
tree079d7c7aa2ff11a921275802b09699e97206b657
parent893b4bde885c1f02edbe9d9533919abb0ac50490 (diff)
accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix
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>
-rw-r--r--accel/tcg/ldst_atomicity.c.inc4
-rw-r--r--host/include/aarch64/host/load-extract-al16-al8.h.inc (renamed from host/include/aarch64/host/load-extract-al16-al8.h)0
-rw-r--r--host/include/aarch64/host/store-insert-al16.h.inc (renamed from host/include/aarch64/host/store-insert-al16.h)0
-rw-r--r--host/include/generic/host/load-extract-al16-al8.h.inc (renamed from host/include/generic/host/load-extract-al16-al8.h)0
-rw-r--r--host/include/generic/host/store-insert-al16.h.inc (renamed from host/include/generic/host/store-insert-al16.h)0
-rw-r--r--host/include/loongarch64/host/load-extract-al16-al8.h.inc (renamed from host/include/loongarch64/host/load-extract-al16-al8.h)0
-rw-r--r--host/include/loongarch64/host/store-insert-al16.h.inc (renamed from host/include/loongarch64/host/store-insert-al16.h)0
-rw-r--r--host/include/x86_64/host/load-extract-al16-al8.h.inc (renamed from host/include/x86_64/host/load-extract-al16-al8.h)0
8 files changed, 2 insertions, 2 deletions
diff --git a/accel/tcg/ldst_atomicity.c.inc b/accel/tcg/ldst_atomicity.c.inc
index 97dae70d53..134da3c1da 100644
--- a/accel/tcg/ldst_atomicity.c.inc
+++ b/accel/tcg/ldst_atomicity.c.inc
@@ -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
diff --git a/host/include/aarch64/host/load-extract-al16-al8.h b/host/include/aarch64/host/load-extract-al16-al8.h.inc
index bd677c5e26..bd677c5e26 100644
--- a/host/include/aarch64/host/load-extract-al16-al8.h
+++ b/host/include/aarch64/host/load-extract-al16-al8.h.inc
diff --git a/host/include/aarch64/host/store-insert-al16.h b/host/include/aarch64/host/store-insert-al16.h.inc
index 1943155bc6..1943155bc6 100644
--- a/host/include/aarch64/host/store-insert-al16.h
+++ b/host/include/aarch64/host/store-insert-al16.h.inc
diff --git a/host/include/generic/host/load-extract-al16-al8.h b/host/include/generic/host/load-extract-al16-al8.h.inc
index d95556130f..d95556130f 100644
--- a/host/include/generic/host/load-extract-al16-al8.h
+++ b/host/include/generic/host/load-extract-al16-al8.h.inc
diff --git a/host/include/generic/host/store-insert-al16.h b/host/include/generic/host/store-insert-al16.h.inc
index 4a1662183d..4a1662183d 100644
--- a/host/include/generic/host/store-insert-al16.h
+++ b/host/include/generic/host/store-insert-al16.h.inc
diff --git a/host/include/loongarch64/host/load-extract-al16-al8.h b/host/include/loongarch64/host/load-extract-al16-al8.h.inc
index d1fb59d8af..d1fb59d8af 100644
--- a/host/include/loongarch64/host/load-extract-al16-al8.h
+++ b/host/include/loongarch64/host/load-extract-al16-al8.h.inc
diff --git a/host/include/loongarch64/host/store-insert-al16.h b/host/include/loongarch64/host/store-insert-al16.h.inc
index 919fd8d744..919fd8d744 100644
--- a/host/include/loongarch64/host/store-insert-al16.h
+++ b/host/include/loongarch64/host/store-insert-al16.h.inc
diff --git a/host/include/x86_64/host/load-extract-al16-al8.h b/host/include/x86_64/host/load-extract-al16-al8.h.inc
index baa506b7b5..baa506b7b5 100644
--- a/host/include/x86_64/host/load-extract-al16-al8.h
+++ b/host/include/x86_64/host/load-extract-al16-al8.h.inc