Skip to content

Commit

Permalink
tci: do not include exec/exec-all.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bonzini authored and pm215 committed May 20, 2016
1 parent 22b31af commit 65603e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion disas/tci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion tci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 65603e2

Please sign in to comment.