From nobody Thu Apr 18 15:04:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1515778702528388.4838382797042; Fri, 12 Jan 2018 09:38:22 -0800 (PST) Received: from localhost ([::1]:55056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea3HN-0003AB-3K for importer@patchew.org; Fri, 12 Jan 2018 12:38:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea3GQ-0002bN-AN for qemu-devel@nongnu.org; Fri, 12 Jan 2018 12:37:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ea3GP-0000Y6-Jq for qemu-devel@nongnu.org; Fri, 12 Jan 2018 12:37:10 -0500 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:46728) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ea3GP-0000V7-8K for qemu-devel@nongnu.org; Fri, 12 Jan 2018 12:37:09 -0500 Received: by mail-lf0-x241.google.com with SMTP id a12so6730289lfe.13 for ; Fri, 12 Jan 2018 09:37:09 -0800 (PST) Received: from octofox.com (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id i62sm3848254lfa.16.2018.01.12.09.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Jan 2018 09:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yxWi9C7j54NaapspE8MkAv3uxuOReVfzKEbya/J6+38=; b=WzjNj5GmgM/QbMV+fw4/rvntyOirEw5iT0qsOwUp8iowLu9QAbeHWr/1+zaJINhv8z hGXyX+zMVIFpFuuKCWIqBvvRAKhjPpJOur7GJo/AbFyZqzMSYYfzMCmAkjPNU10+Sxfz Lb4zOaqaqhe7vO3DpqvoXUlx8hha50Axcc6wTeHqkU5AQd7rjBDSdXgIcfSjZFVY3Ll/ jTxVC/ktHj6RACFFm5Lwh9+rtQ6+8J3exzcXaqPpWZq2UWoZkuEq1ALCfDYKD4hvAv0i VVYjY8CNOprpzUcKvTbkYBbgLXzQhHt7xN91nt1Uc1jGsZe5jKStwfeRGzJCYAxKI6PS +Low== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yxWi9C7j54NaapspE8MkAv3uxuOReVfzKEbya/J6+38=; b=DQipffi5n0RJhQtiRZlwn+VZoKrLhPnLXW8+4GSMX0o8gOO+HHZnBg2RbGjldnHDCG DwjhxkUUtHK72hhXAdAHemm+iob/g5yxzlP+TzI7qGPH/+jN1Yno9Ad3YMDMuJgyXyOJ WuG2eh+d3YkMmVNvc9ETw4QL1xQ1d2+DABkNxo3nNmye4TQzDGMmxiwhwfkMgHj6NJT1 U426Nq5LwMmzDuy7T+HWnKe38izFapDlsAuwhbgVqK+RexXK/BgULMxOO2AGR2ODVlgq j6Wo3i4qTd39FNGLMAsgDHTM7L6qjiBQikxTaTp7Ivc41N4RU0ZaxpPi+B6KArA2wDHJ 7P/Q== X-Gm-Message-State: AKGB3mIoQJwXgvwNBY8Tlm699Q09FVlphtW3pObmUcerlNwBsPnoAe/w f164wqZg0tQBKntpgfinHVNQOg== X-Google-Smtp-Source: ACJfBoup+MWi1eN4z4TElVf9186kN9CtHAeh7exXHPPBg7fFKNgR1UxeEsM5NVZZTWyYgqSmTzpKIA== X-Received: by 10.46.47.16 with SMTP id v16mr15720733ljv.10.1515778627689; Fri, 12 Jan 2018 09:37:07 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Fri, 12 Jan 2018 09:36:50 -0800 Message-Id: <1515778610-18894-1-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <27e44c5d-b04c-df08-bd7f-fc4089d91dcd@redhat.com> References: <27e44c5d-b04c-df08-bd7f-fc4089d91dcd@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::241 Subject: [Qemu-devel] [PATCH] target/xtensa: don't typedef DisasContext twice X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov , Paolo Bonzini , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This fixes build on Centos 6. Fixes: 168c12b02470 ("target/xtensa: extract core opcode translators"). Signed-off-by: Max Filippov --- target/xtensa/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 4bdfcd24d09b..bec9efc4d86a 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -50,7 +50,7 @@ /* is_jmp field values */ #define DISAS_UPDATE DISAS_TARGET_0 /* cpu state was modified dynamically= */ =20 -typedef struct DisasContext { +struct DisasContext { const XtensaConfig *config; TranslationBlock *tb; uint32_t pc; @@ -78,7 +78,7 @@ typedef struct DisasContext { uint32_t *raw_arg; xtensa_insnbuf insnbuf; xtensa_insnbuf slotbuf; -} DisasContext; +}; =20 static TCGv_i32 cpu_pc; static TCGv_i32 cpu_R[16]; --=20 2.1.4