qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Discussion 09/10] exec: remove the unnecessary include of


From: Xuebing Wang
Subject: [Qemu-devel] [Discussion 09/10] exec: remove the unnecessary include of "exec-all.h"
Date: Tue, 4 Mar 2014 10:47:29 +0800

include/exec/exec-all.h should ONLY be included in target-xxx/*
-   'git grep -nw exec-all.h' confirms this

Signed-off-by: Xuebing Wang <address@hidden>
---
 cputlb.c   |    1 -
 tcg/README |    2 +-
 tci.c      |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/cputlb.c b/cputlb.c
index 724bdda..f1458a6 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -23,7 +23,6 @@
 #include "cpu.h" /* target-xxx/cpu.h, required for CPUArchState etc */
 
 #include "config.h"
-#include "exec/exec-all.h"
 #include "exec/memory.h"
 
 #include "exec/cputlb.h"
diff --git a/tcg/README b/tcg/README
index f178212..0788bdc 100644
--- a/tcg/README
+++ b/tcg/README
@@ -530,7 +530,7 @@ register.
   inline TCG may still be faster for longer sequences.
 
 - The hard limit on the number of TCG instructions you can generate
-  per guest instruction is set by MAX_OP_PER_INSTR in exec-all.h --
+  per guest instruction is set by MAX_OP_PER_INSTR in translate.h --
   you cannot exceed this without risking a buffer overrun.
 
 - Use the 'discard' instruction if you know that TCG won't be able to
diff --git a/tci.c b/tci.c
index 0202ed9..7b9d0af 100644
--- a/tci.c
+++ b/tci.c
@@ -25,7 +25,7 @@
 #endif
 
 #include "qemu-common.h"
-#include "exec/exec-all.h"           /* MAX_OPC_PARAM_IARGS */
+#include "exec/translate.h"           /* MAX_OPC_PARAM_IARGS */
 #include "tcg-op.h"
 
 /* Marker for missing code. */
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]