From patchwork Tue Jul 9 09:20:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 168734 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp8297349ilk; Tue, 9 Jul 2019 02:25:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXOtdT5mj1C5BJGhxm7AnUNOC7Z6+F4+ChzAYn63GXmUJrK86HlNyanq4STMXE5GTaOk6j X-Received: by 2002:a50:b635:: with SMTP id b50mr24426567ede.293.1562664323413; Tue, 09 Jul 2019 02:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562664323; cv=none; d=google.com; s=arc-20160816; b=056+KUCI4GdNRFa4iS5d6UeOMHn29d8Ib2QJbw3IG1PE+rpEjZJ125q4SrJH+kDdKr GjYxjS6WzkqdFc7HCBxYY6C53YCo0lKj7Iji8cXAco7v5N4K+HKw1e4AV1zpeRZbomk3 bhjNoQ+1i1TIn6y0sh9NVgYY20B4UX0fjqK7CqqoRsLaDdKTspRtJKQKv1YEx8WME+Eq 1pgljz9RHWYdeX7hNp9NDTcYFOskmYEcOPEPNaqHMQ1TsBeM0dnEkgV5whmJSV4sLhWT R7lIHLSEnDdXy5WCqcSt4cOX30GI5qWGYU59qE03/b6wByMd7ImvV25OrQgm6fMMF2am 5a0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=RngKFqfhqHf/c/CCpGl+L7AgkqksgPe6OGO3ZGF2urY=; b=ixaJba/wlnkHqr4nduolFACiCyurTCgSEYni1JQWQPB605MQK7HeSN1FYghy/j3rQQ dFNdHpGXngiSypce00JPBP6IesFd7yuDv9XSVxwmvrAfofkpxz97LRr2TEFfhxSUSomB P7r0mqQOcXRFCBZjDcVBWSTxgAWTVD7rzflz6ElNR5jSB85MLDgezNreL/ioy5JsWOp5 ZQCg18UARO9LUOdNLF5L/1RJiB3HX31uyImhLxfMAUC6Buxh1fj+4jSiamLXV9UM//G3 Ceu/0yUaO6KOE9yTwx6E8xlbbobK1cc31TvOPkpugdt9mFM6NnuXpxjSQ1UE4fTgPVeP l2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=saez24hH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k21si6240626ejr.44.2019.07.09.02.25.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jul 2019 02:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=saez24hH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkmNG-0003oF-F2 for patch@linaro.org; Tue, 09 Jul 2019 05:25:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43475) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkmJS-00070r-W7 for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkmJR-0001ym-14 for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:26 -0400 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:35762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkmJP-0001wI-3O for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:24 -0400 Received: by mail-io1-xd32.google.com with SMTP id m24so32165953ioo.2 for ; Tue, 09 Jul 2019 02:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RngKFqfhqHf/c/CCpGl+L7AgkqksgPe6OGO3ZGF2urY=; b=saez24hHd8iicEmlHJ4fN3ejAZ+9GHS4NWTCDaH0fTTTG8oFJB4OTnp8F2t13HANyM Cwgr5cGCc8CdH5e5T5H7L24UeIqjSgq7c1qpJd9NbpVzI6vPoC7r+G9rnB8LjXAeCXXK RS9PFdddDtZw+Zho+ZzrJa5gOYoTR1kxTzNyBclXVRbGtbmSobcGpxGqugRowoHVW0wz CtAkCWO1G0Elo6l7HdtHp+HW9X7dMHfKvXFm6C1l7FostlHEaEIORmoVaWmcwweqNibS E0+Q/9fBTLM0y76+Yu1G/+K4ODVw8kfbR7JKWgEeoEvrJhxlyE8yWfljv+1rqPEYYzU7 R3tg== 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=RngKFqfhqHf/c/CCpGl+L7AgkqksgPe6OGO3ZGF2urY=; b=oBMN1HueneJWDiJgC6AErL80Ti3CpX1+LYphLTU0+lh2FQV0F1GAC8y7gbYsg5fkQ9 XHh0SYQkvL+OUPobrR9zdJw3hPzEMNNjiWbnLOhTlHH89Y/mGZ1FYGbQeoy5zHkqf6aB Qkm4z54Xxn7U7aZLHlaHb91dnxFWxra0OB5dNjalcmwYSLD3d/sWCNWqIe3Ho9pqApYN dG158Q7mLXyU1KFqlQYkfMX0dR+ana10d9OyRMP3j5bGetmLDbAOguwfVkdpW0MbhiSa I9B+/KDsHl4s+fjtby/7dihOIVBkbjQOQauMpDq8dG6JjpZyC13YVsyzvZ1Q/zd1VHah qP1g== X-Gm-Message-State: APjAAAU9nrT36YP5h/mkSeAUFYaeypVkaBL6UPZY2tNxt9K4EiRJxHB6 bT4tk2vBmgQpg9DmWlSDhFLyYSBfKlw= X-Received: by 2002:a5d:87da:: with SMTP id q26mr24457621ios.193.1562664080384; Tue, 09 Jul 2019 02:21:20 -0700 (PDT) Received: from localhost.localdomain ([172.56.12.212]) by smtp.gmail.com with ESMTPSA id c17sm17613817ioo.82.2019.07.09.02.21.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 02:21:19 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 9 Jul 2019 11:20:48 +0200 Message-Id: <20190709092049.13771-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190709092049.13771-1-richard.henderson@linaro.org> References: <20190709092049.13771-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d32 Subject: [Qemu-devel] [PATCH 4/5] tcg: Remove duplicate #if !defined(CODE_ACCESS) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, peter.maydell@linaro.org, alex.bennee@linaro.org, pbonzini@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This code block is already surrounded by #ifndef CODE_ACCESS. Signed-off-by: Richard Henderson --- include/exec/cpu_ldst_useronly_template.h | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 Reviewed-by: Alex Bennée diff --git a/include/exec/cpu_ldst_useronly_template.h b/include/exec/cpu_ldst_useronly_template.h index 8c7a2c6cd7..d663826ac2 100644 --- a/include/exec/cpu_ldst_useronly_template.h +++ b/include/exec/cpu_ldst_useronly_template.h @@ -118,11 +118,9 @@ static inline void glue(glue(cpu_st, SUFFIX), MEMSUFFIX)(CPUArchState *env, abi_ptr ptr, RES_TYPE v) { -#if !defined(CODE_ACCESS) trace_guest_mem_before_exec( env_cpu(env), ptr, trace_mem_build_info(SHIFT, false, MO_TE, true)); -#endif glue(glue(st, SUFFIX), _p)(g2h(ptr), v); }