diff mbox series

[v4,53/54] include/exec: wrap cpu_ldst.h in CONFIG_TCG

Message ID 20190731160719.11396-54-alex.bennee@linaro.org
State Superseded
Headers show
Series plugins for TCG | expand

Commit Message

Alex Bennée July 31, 2019, 4:07 p.m. UTC
This gets around a build problem with --disable-tcg.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 include/exec/exec-all.h | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.20.1

Comments

Richard Henderson Aug. 1, 2019, 7:51 p.m. UTC | #1
On 7/31/19 9:07 AM, Alex Bennée wrote:
> This gets around a build problem with --disable-tcg.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  include/exec/exec-all.h | 2 ++

>  1 file changed, 2 insertions(+)


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>



r~
diff mbox series

Patch

diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index c42626e35b1..e6b9b460c81 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -21,7 +21,9 @@ 
 #define EXEC_ALL_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 */