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: 860084 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WzjNj5Gm"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zJ91Y3yGgz9t3B for ; Sat, 13 Jan 2018 04:37:36 +1100 (AEDT) Received: from localhost ([::1]:55029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea3Gn-0002ce-RR for incoming@patchwork.ozlabs.org; Fri, 12 Jan 2018 12:37:33 -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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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];