[PATCH 4/9] accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h

Richard Henderson posted 9 patches 4 days, 17 hours ago
[PATCH 4/9] accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h
Posted by Richard Henderson 4 days, 17 hours ago
Not used by tb-internal.h, but add an include for
target_page.h in tb-maint.c.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 accel/tcg/tb-internal.h | 2 --
 accel/tcg/tb-maint.c    | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/accel/tcg/tb-internal.h b/accel/tcg/tb-internal.h
index f7c2073e29..f9a06bcbab 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 d5899ad047..df3438e190 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"
-- 
2.43.0
Re: [PATCH 4/9] accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h
Posted by Pierrick Bouvier 4 days, 17 hours ago
On 3/28/25 13:04, Richard Henderson wrote:
> Not used by tb-internal.h, but add an include for
> target_page.h in tb-maint.c.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   accel/tcg/tb-internal.h | 2 --
>   accel/tcg/tb-maint.c    | 1 +
>   2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/accel/tcg/tb-internal.h b/accel/tcg/tb-internal.h
> index f7c2073e29..f9a06bcbab 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 d5899ad047..df3438e190 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"

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>