]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tci: do not include exec/exec-all.h
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 May 2016 11:57:31 +0000 (13:57 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 May 2016 14:07:46 +0000 (15:07 +0100)
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>
disas/tci.c
tci.c

index 7233343fa109a882cb5b85a22a62df8666fbb4c1..1cdf5eeafca98cd3864ac251d45140ae9dceb8bd 100644 (file)
@@ -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 0fdc4e2c127c3937664271dc95d95394a69eca8b..b488c0d8e412f8cc1d70208a55fb14795d91d11c 100644 (file)
--- 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"