aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-05-20 13:57:31 +0200
committerPeter Maydell <peter.maydell@linaro.org>2016-05-20 15:07:46 +0100
commit65603e2fc18b48e6e55a3dd693669413141694ec (patch)
tree90988d99c2a9e28793183afa69fc349c9911d00a
parent22b31af26ff31ef97a9d482fb5e336d699ae33f3 (diff)
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 <pbonzini@redhat.com> Message-id: 1463745452-25831-1-git-send-email-pbonzini@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--disas/tci.c1
-rw-r--r--tci.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/disas/tci.c b/disas/tci.c
index 7233343fa1..1cdf5eeafc 100644
--- a/disas/tci.c
+++ b/disas/tci.c
@@ -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. */
diff --git a/tci.c b/tci.c
index 0fdc4e2c12..b488c0d8e4 100644
--- a/tci.c
+++ b/tci.c
@@ -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"