]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include/exec: wrap cpu_ldst.h in CONFIG_TCG
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 17 May 2019 11:36:10 +0000 (12:36 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
This gets around a build problem with --disable-tcg.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/exec-all.h

index eadcf29d0c40f9a8d1e3854a0059ffc5799b4f44..d85e610e85b91a6517ea66689162be74798c7009 100644 (file)
@@ -22,7 +22,9 @@
 
 #include "cpu.h"
 #include "exec/tb-context.h"
+#ifdef CONFIG_TCG
 #include "exec/cpu_ldst.h"
+#endif
 #include "sysemu/cpus.h"
 
 /* allow to see translation results - the slowdown should be negligible, so we leave it */