On 10/1/25 01:21, 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":

   accel/kvm/kvm-all.c: In function ‘kvm_init’:
   accel/kvm/kvm-all.c:2636:12: error: ‘TARGET_PAGE_SIZE’ undeclared (first use 
in this function); did you mean ‘TARGET_PAGE_BITS’?
    2636 |     assert(TARGET_PAGE_SIZE <= qemu_real_host_page_size());
         |            ^~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  accel/kvm/kvm-all.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to