Skip to content

Commit 65603e2

Browse files
bonzinipm215
authored andcommitted
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]> Message-id: [email protected] Signed-off-by: Peter Maydell <[email protected]>
1 parent 22b31af commit 65603e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

disas/tci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "qemu/osdep.h"
2121
#include "qemu-common.h"
2222
#include "disas/bfd.h"
23-
#include "exec/exec-all.h"
2423
#include "tcg/tcg.h"
2524

2625
/* Disassemble TCI bytecode. */

tci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929

3030
#include "qemu-common.h"
31-
#include "exec/exec-all.h" /* MAX_OPC_PARAM_IARGS */
31+
#include "tcg/tcg.h" /* MAX_OPC_PARAM_IARGS */
3232
#include "exec/cpu_ldst.h"
3333
#include "tcg-op.h"
3434

0 commit comments

Comments
 (0)