From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKfPB-0007az-Ts for qemu-devel@nongnu.org; Mon, 03 Mar 2014 21:48:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKfP3-0000qv-El for qemu-devel@nongnu.org; Mon, 03 Mar 2014 21:48:29 -0500 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:51112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKfP3-0000qm-7a for qemu-devel@nongnu.org; Mon, 03 Mar 2014 21:48:21 -0500 Received: by mail-pd0-f177.google.com with SMTP id g10so4465672pdj.8 for ; Mon, 03 Mar 2014 18:48:20 -0800 (PST) From: Xuebing Wang Date: Tue, 4 Mar 2014 10:47:29 +0800 Message-Id: <1393901250-3922-10-git-send-email-xbing6@gmail.com> In-Reply-To: <1393901250-3922-1-git-send-email-xbing6@gmail.com> References: <1393901250-3922-1-git-send-email-xbing6@gmail.com> Subject: [Qemu-devel] [Discussion 09/10] exec: remove the unnecessary include of "exec-all.h" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, xbing6@gmail.com, afaerber@suse.de, stefanha@redhat.com 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 --- 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