tci: do not include exec/exec-all.h
PATCH 1/1 tci: do not include exec/exec-all.h
TCI does not need the runtime definition in exec-all.h. It only needs the host-side definitions in tcg/tcg.h. Now that cpu.h is not included everywhere, this caused a failure because exec-all.h does need cpu.h but does not include it itself.
Fix by including the intended header.
Signed-off-by Paolo Bonzini <[email protected]>
--- disas/tci.c | 1 - tci.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
disas/tci.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" /* Disassemble TCI bytecode. */
tci.c +1 -1
@@ -28,7 +28,7 @@#endif #include "qemu-common.h" -#include "exec/exec-all.h" /* MAX_OPC_PARAM_IARGS */ +#include "tcg/tcg.h" /* MAX_OPC_PARAM_IARGS */ #include "exec/cpu_ldst.h" #include "tcg-op.h"
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 5 lines · Paolo Bonzini
TCI does not need the runtime definition in
exec-all.h. It only needs the host-side definitions intcg/tcg.h. Now thatcpu.his not included everywhere, this caused a failure becauseexec-all.hdoes needcpu.hbut does not include it itself.
Quoted 7 lines
Fix by including the intended header.
Signed-off-by Paolo Bonzini <[email protected]>--- disas/tci.c | 1 - tci.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
Applied to master, thanks.
-- PMM