On 3/7/25 10:56, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> accel/tcg/tcg-runtime.c | 8 ++------
> accel/tcg/meson.build | 2 +-
> 2 files changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/accel/tcg/tcg-runtime.c b/accel/tcg/tcg-runtime.c
> index 9fa539ad3d..72c4c6bd31 100644
> --- a/accel/tcg/tcg-runtime.c
> +++ b/accel/tcg/tcg-runtime.c
> @@ -23,13 +23,9 @@
> */
> #include "qemu/osdep.h"
> #include "qemu/host-utils.h"
> -#include "cpu.h"
> +#include "exec/cpu-common.h"
> #include "exec/helper-proto-common.h"
> -#include "exec/cpu_ldst.h"
> -#include "exec/exec-all.h"
> -#include "disas/disas.h"
> -#include "exec/log.h"
> -#include "tcg/tcg.h"
> +#include "exec/helper-getpc.h"
>
> #define HELPER_H "accel/tcg/tcg-runtime.h"
> #include "exec/helper-info.c.inc"
> diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build
> index 81fb25da5c..411fe28dea 100644
> --- a/accel/tcg/meson.build
> +++ b/accel/tcg/meson.build
> @@ -1,5 +1,6 @@
> common_ss.add(when: 'CONFIG_TCG', if_true: files(
> 'cpu-exec-common.c',
> + 'tcg-runtime.c',
> ))
> tcg_specific_ss = ss.source_set()
> tcg_specific_ss.add(files(
> @@ -7,7 +8,6 @@ tcg_specific_ss.add(files(
> 'cpu-exec.c',
> 'tb-maint.c',
> 'tcg-runtime-gvec.c',
> - 'tcg-runtime.c',
> 'translate-all.c',
> 'translator.c',
> ))
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>