From: Pierrick Bouvier Date: Mon, 17 Mar 2025 18:34:08 +0000 (-0700) Subject: exec/ram_addr: remove dependency on cpu.h X-Git-Tag: v10.1.0-rc0~117^2~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ede39130af7d325e8dbc6b533a86cb384fdee65d;p=thirdparty%2Fqemu.git exec/ram_addr: remove dependency on cpu.h Needed so compilation units including it can be common. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Signed-off-by: Richard Henderson Message-ID: <20250317183417.285700-10-pierrick.bouvier@linaro.org> --- diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index e4c28fbec9b..f5d574261a3 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -20,13 +20,14 @@ #define RAM_ADDR_H #ifndef CONFIG_USER_ONLY -#include "cpu.h" #include "system/xen.h" #include "system/tcg.h" #include "exec/cputlb.h" #include "exec/ramlist.h" #include "exec/ramblock.h" #include "exec/exec-all.h" +#include "exec/memory.h" +#include "exec/target_page.h" #include "qemu/rcu.h" #include "exec/hwaddr.h"