Received: from eggs.gnu.org ([2001:4830:134:3::10]:56200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMWKG-0004O1-0u for qemu-devel@nongnu.org; Sun, 09 Mar 2014 00:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMWKB-0007k3-JY for qemu-devel@nongnu.org; Sun, 09 Mar 2014 00:31:03 -0500 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:63635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMWKB-0007jy-Fo for qemu-devel@nongnu.org; Sun, 09 Mar 2014 00:30:59 -0500 Received: by mail-qc0-f173.google.com with SMTP id r5so6488315qcx.32 for ; Sat, 08 Mar 2014 21:30:59 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Sat, 8 Mar 2014 21:30:35 -0800 Message-Id: <1394343043-1473-3-git-send-email-rth@twiddle.net> In-Reply-To: <1394343043-1473-1-git-send-email-rth@twiddle.net> References: <1394343043-1473-1-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PULL 02/10] tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, aliguori@amazon.com Removed from other targets in 56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9. Reviewed-by: Alex Bennée Reviewed-by: Claudio Fontana Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarch64/tcg-target.c index 04d7ae3..efbeac7 100644 --- a/tcg/aarch64/tcg-target.c +++ b/tcg/aarch64/tcg-target.c @@ -1441,12 +1441,6 @@ static const TCGTargetOpDef aarch64_op_defs[] = { static void tcg_target_init(TCGContext *s) { -#if !defined(CONFIG_USER_ONLY) - /* fail safe */ - if ((1ULL << CPU_TLB_ENTRY_BITS) != sizeof(CPUTLBEntry)) { - tcg_abort(); - } -#endif tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffffffff); tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I64], 0, 0xffffffff); -- 1.8.5.3