On Wed, 2025-10-01 at 19:54 +0200, Philippe Mathieu-Daudé wrote:
> The "exec/target_page.h" header is indirectly pulled from
> "system/ram_addr.h". Include it explicitly, in order to
> avoid unrelated issues when refactoring "system/ram_addr.h":
> 
>   hw/s390x/s390-stattrib-kvm.c: In function ‘kvm_s390_stattrib_set_stattr’:
>   hw/s390x/s390-stattrib-kvm.c:89:57: error: ‘TARGET_PAGE_SIZE’ undeclared 
> (first use in this function); did you mean ‘TARGET_PAGE_BITS’?
>      89 |     unsigned long max = s390_get_memory_limit(s390ms) / 
> TARGET_PAGE_SIZE;
>         |                                                         
> ^~~~~~~~~~~~~~~~
>         |                                                         
> TARGET_PAGE_BITS
> 
> Since "system/ram_addr.h" is actually not needed, remove it.
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> Reviewed-by: Richard Henderson <[email protected]>

Reviewed-by: Eric Farman <[email protected]>

Reply via email to