Message ID | 20250328200459.483089-5-richard.henderson@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | single-binary: Restrict scope of TARGET_PAGE_BITS_MIN | expand |
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>
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"
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(-)