From: Richard Henderson Date: Thu, 27 Mar 2025 22:07:09 +0000 (-0500) Subject: accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h X-Git-Tag: v10.1.0-rc0~117^2~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b18e3a727f46771f41eb764c2b40cebca81c3de;p=thirdparty%2Fqemu.git accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h Not used by tb-internal.h, but add an include for target_page.h in tb-maint.c. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- diff --git a/accel/tcg/tb-internal.h b/accel/tcg/tb-internal.h index f7c2073e291..f9a06bcbabb 100644 --- a/accel/tcg/tb-internal.h +++ b/accel/tcg/tb-internal.h @@ -9,8 +9,6 @@ #ifndef ACCEL_TCG_TB_INTERNAL_TARGET_H #define ACCEL_TCG_TB_INTERNAL_TARGET_H -#include "exec/cpu-all.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" /* diff --git a/accel/tcg/tb-maint.c b/accel/tcg/tb-maint.c index d5899ad0475..df3438e1902 100644 --- a/accel/tcg/tb-maint.c +++ b/accel/tcg/tb-maint.c @@ -26,6 +26,7 @@ #include "exec/page-protection.h" #include "exec/mmap-lock.h" #include "exec/tb-flush.h" +#include "exec/target_page.h" #include "tb-internal.h" #include "system/tcg.h" #include "tcg/tcg.h"