From: Richard Henderson Date: Thu, 15 Aug 2013 20:36:00 +0000 (-0700) Subject: tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~386^2~42^2~116^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3353d0dcc331f15dbbadfc42772d57c864017d4b;p=sdk%2Femulator%2Fqemu.git tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check Removed from other targets in 56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9. Reviewed-by: Alex Bennée Reviewed-by: Claudio Fontana Signed-off-by: Richard Henderson --- diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarch64/tcg-target.c index 04d7ae328d..efbeac756d 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);