diff mbox series

[06/13] cpu: Add missing 'exec/exec-all.h' and ''exec/exec-all.h'' headers

Message ID 20220208152243.16452-7-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show
Series exec: Move translation declarations to 'translate-all.h' | expand

Commit Message

Philippe Mathieu-Daudé Feb. 8, 2022, 3:22 p.m. UTC
cpu.c requires "exec/exec-all.h" to call tlb_flush() and
"qemu/accel.h" to call accel_cpu_realizefn().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 cpu.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Richard Henderson Feb. 8, 2022, 10:17 p.m. UTC | #1
On 2/9/22 02:22, Philippe Mathieu-Daudé wrote:
> cpu.c requires "exec/exec-all.h" to call tlb_flush() and
> "qemu/accel.h" to call accel_cpu_realizefn().
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>   cpu.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/cpu.c b/cpu.c
> index 834e2b4cdb..a728f3e762 100644
> --- a/cpu.c
> +++ b/cpu.c
> @@ -35,10 +35,12 @@
>   #include "sysemu/tcg.h"
>   #include "sysemu/kvm.h"
>   #include "sysemu/replay.h"
> +#include "exec/exec-all.h"
>   #include "exec/translate-all.h"
>   #include "exec/log.h"
>   #include "hw/core/accel-cpu.h"
>   #include "trace/trace-root.h"
> +#include "qemu/accel.h"

Duplicate exec-all.h in subject.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

diff --git a/cpu.c b/cpu.c
index 834e2b4cdb..a728f3e762 100644
--- a/cpu.c
+++ b/cpu.c
@@ -35,10 +35,12 @@ 
 #include "sysemu/tcg.h"
 #include "sysemu/kvm.h"
 #include "sysemu/replay.h"
+#include "exec/exec-all.h"
 #include "exec/translate-all.h"
 #include "exec/log.h"
 #include "hw/core/accel-cpu.h"
 #include "trace/trace-root.h"
+#include "qemu/accel.h"
 
 uintptr_t qemu_host_page_size;
 intptr_t qemu_host_page_mask;