From patchwork Fri Jan 12 17:36:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10161509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 845A9602B3 for ; Fri, 12 Jan 2018 17:37:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FB6528830 for ; Fri, 12 Jan 2018 17:37:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6425028910; Fri, 12 Jan 2018 17:37:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DDD6A28830 for ; Fri, 12 Jan 2018 17:37:54 +0000 (UTC) Received: from localhost ([::1]:55056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea3H7-0003AB-GK for patchwork-qemu-devel@patchwork.kernel.org; Fri, 12 Jan 2018 12:37:53 -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) 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) 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) 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 */ -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; +}; static TCGv_i32 cpu_pc; static TCGv_i32 cpu_R[16];