From: Richard Henderson Date: Wed, 8 Mar 2023 20:48:13 +0000 (-0800) Subject: target/loongarch: Do not include tcg-ldst.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=335dfd253fc242b009a1b9b5d4fffbf4ea52928d;p=qemu.git target/loongarch: Do not include tcg-ldst.h This header is supposed to be private to tcg and in fact does not need to be included here at all. Reviewed-by: Song Gao Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- diff --git a/target/loongarch/csr_helper.c b/target/loongarch/csr_helper.c index 7e02787895..6526367946 100644 --- a/target/loongarch/csr_helper.c +++ b/target/loongarch/csr_helper.c @@ -15,7 +15,6 @@ #include "exec/cpu_ldst.h" #include "hw/irq.h" #include "cpu-csr.h" -#include "tcg/tcg-ldst.h" target_ulong helper_csrrd_pgd(CPULoongArchState *env) { diff --git a/target/loongarch/iocsr_helper.c b/target/loongarch/iocsr_helper.c index 505853e17b..dda9845d6c 100644 --- a/target/loongarch/iocsr_helper.c +++ b/target/loongarch/iocsr_helper.c @@ -12,7 +12,6 @@ #include "exec/helper-proto.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" -#include "tcg/tcg-ldst.h" #define GET_MEMTXATTRS(cas) \ ((MemTxAttrs){.requester_id = env_cpu(cas)->cpu_index})