From: Philippe Mathieu-Daudé Date: Sat, 2 Dec 2023 19:00:02 +0000 (+0100) Subject: exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion X-Git-Tag: v9.1.0-rc0~133^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=edfc85875d4926208a86acd8f4f212b664df35ca;p=thirdparty%2Fqemu.git exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion "exec/cpu-all.h" doesn't need definitions from "qemu/rcu.h", however "exec/ram_addr.h" does. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20231211212003.21686-17-philmd@linaro.org> --- diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index b86209fc492..586dc56d9ea 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -24,7 +24,6 @@ #include "exec/tswap.h" #include "qemu/thread.h" #include "hw/core/cpu.h" -#include "qemu/rcu.h" /* some important defines: * diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 07c8f863750..891c44cf2d9 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -26,6 +26,7 @@ #include "exec/ramlist.h" #include "exec/ramblock.h" #include "exec/exec-all.h" +#include "qemu/rcu.h" extern uint64_t total_dirty_pages;