summaryrefslogtreecommitdiffstats
path: root/cpu.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-12-16 13:27:58 +0100
committerPaolo Bonzini2021-01-02 21:03:36 +0100
commit3b9bd3f46b3b92501186acd18e81d3e8510b7b09 (patch)
tree5cad86c996f731f980cb9c0ff0ac6af2ed30a064 /cpu.c
parentbuild-sys: fix -static linking of libvhost-user (diff)
downloadqemu-3b9bd3f46b3b92501186acd18e81d3e8510b7b09.tar.gz
qemu-3b9bd3f46b3b92501186acd18e81d3e8510b7b09.tar.xz
qemu-3b9bd3f46b3b92501186acd18e81d3e8510b7b09.zip
remove TCG includes from common code
Enable removing tcg/$tcg_arch from the include path when TCG is disabled. Move translate-all.h to include/exec, since stubs exist for the functions defined therein. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpu.c')
-rw-r--r--cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu.c b/cpu.c
index 0c485cdf2d..0b245cda2e 100644
--- a/cpu.c
+++ b/cpu.c
@@ -34,7 +34,7 @@
#include "sysemu/tcg.h"
#include "sysemu/kvm.h"
#include "sysemu/replay.h"
-#include "translate-all.h"
+#include "exec/translate-all.h"
#include "exec/log.h"
uintptr_t qemu_host_page_size;