summaryrefslogtreecommitdiffstats
path: root/target/ppc/mem_helper.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-01-01 12:23:00 +0100
committerRichard Henderson2020-01-16 02:13:10 +0100
commitdcb32f1d8f4125f780ace1fc0b14f1920025a517 (patch)
tree6d22d35cd2fbf5ee36275cba6ef683bad41c8d22 /target/ppc/mem_helper.c
parentcputlb: Expand cpu_ldst_template.h in cputlb.c (diff)
downloadqemu-dcb32f1d8f4125f780ace1fc0b14f1920025a517.tar.gz
qemu-dcb32f1d8f4125f780ace1fc0b14f1920025a517.tar.xz
qemu-dcb32f1d8f4125f780ace1fc0b14f1920025a517.zip
tcg: Search includes from the project root source directory
We currently search both the root and the tcg/ directories for tcg files: $ git grep '#include "tcg/' | wc -l 28 $ git grep '#include "tcg[^/]' | wc -l 94 To simplify the preprocessor search path, unify by expliciting the tcg/ directory. Patch created mechanically by running: $ for x in \ tcg.h tcg-mo.h tcg-op.h tcg-opc.h \ tcg-op-gvec.h tcg-gvec-desc.h; do \ sed -i "s,#include \"$x\",#include \"tcg/$x\"," \ $(git grep -l "#include \"$x\""); \ done Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts) Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200101112303.20724-2-philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc/mem_helper.c')
-rw-r--r--target/ppc/mem_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/mem_helper.c b/target/ppc/mem_helper.c
index 56855f2381..e8e2a8ac2a 100644
--- a/target/ppc/mem_helper.c
+++ b/target/ppc/mem_helper.c
@@ -25,7 +25,7 @@
#include "exec/helper-proto.h"
#include "helper_regs.h"
#include "exec/cpu_ldst.h"
-#include "tcg.h"
+#include "tcg/tcg.h"
#include "internal.h"
#include "qemu/atomic128.h"