From patchwork Fri Jun 14 17:11:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 166862 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2350096ilk; Fri, 14 Jun 2019 10:52:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1ZRRqOEh99kvThD9PWXXViNpGTn972seoUxqYEqIJHJTk4jt42g8pzLnLyt0wRVmDvztW X-Received: by 2002:ac8:2a69:: with SMTP id l38mr15859997qtl.212.1560534735288; Fri, 14 Jun 2019 10:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560534735; cv=none; d=google.com; s=arc-20160816; b=dgZ2vxaDSgJ+zKfUvBDyyokUC9gc0WXszIHR99cj5OVgWU47uvbTIT2nLWdsULg9r+ MVYQcGWjk2k4FKWUoWlYVvwwIQ5W8FLenTjPt6fYzkPOB/A4/LMKqCxAQDk+ioMV8gmE sVC/R3nsnaHox7iSHmfK7yzkcB7kd2YJAwEE0x943Kl91Rj0MofKYy+29Esg4fgCDLow PVXt2nPheM7JWRC7iUw48GpjepqEh1fVUJbGCaiHvnOMi7L9oEDysoz/6q1tFG0Vcfrz KpcgmOEK0+gynZabySHTN9QsmAjegFpSeOovxzYSgTl67KUfmW36YkkNW8/ZbZCf46Vl uehA== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=kv2IwrRCWvjl90KLYznRzS05j6rVbW2oPC3nXpHDO7s=; b=CS3QDS6+yKhN3oZnHxFmjDYlsD39ly51fPhkJLkeOu58VUdtDikD+G5McRyLSFspxY Mb2kHCQZ+Yrzp7yjAvBUiS4LLkSqWw1A1DcyeLazlh7wo5HdkABLrCfRYXNRobULge5S BWDOP0KHIueyPnNmpyLpcHmp3fxcWBfwbMgnQOp9JCKGM+bN40qsPNH3CTRvPnhP6EAb LjT6xDq0x6uWDR6u+0u7zmp/hDHvSipS4sluKYifJ94S8EcaJhp3/+8oLFaKazVZKEtG y4ckEiD+8K83BxKxeSkyqyWm2Q38tEm628E1U/VmUsyLr+51PC3YareUE7knQC8Trq2Z vNzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="j8yZ/nsx"; 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 32si2163290qvf.143.2019.06.14.10.52.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Jun 2019 10:52:15 -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="j8yZ/nsx"; 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]:53900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbqN4-0006i5-TJ for patch@linaro.org; Fri, 14 Jun 2019 13:52:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58561) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbpqg-0005ag-K3 for qemu-devel@nongnu.org; Fri, 14 Jun 2019 13:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbpqe-00076D-0S for qemu-devel@nongnu.org; Fri, 14 Jun 2019 13:18:45 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:51645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbpqd-0006kG-Jl for qemu-devel@nongnu.org; Fri, 14 Jun 2019 13:18:43 -0400 Received: by mail-wm1-x335.google.com with SMTP id 207so3138076wma.1 for ; Fri, 14 Jun 2019 10:18:34 -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 :mime-version:content-transfer-encoding; bh=kv2IwrRCWvjl90KLYznRzS05j6rVbW2oPC3nXpHDO7s=; b=j8yZ/nsx5XFzLvuXh2zG1smzMo3gJeJSZbv7JmjY51Zq7WrkrQGxn1AL71ZVyCJiil mqh+2D2O481jVu73cSpNy/y42OOovK3qH19/BIJLRTSgrLnp38Lb9A59wxZbxov0KY1R HNeH5t79GtaBsGQ7kDrYXELa2ztoWMVp6YXa4R1/EURcRrYDCQXq798ATK6fk49uRDJr 46SPXdEXZAGbbTH7r6P2Yu/xKHbdKbEeihIE01qwwOzPbnfdkfyCGC17plMQkaYgzpAU fVzJaZ0oRXKnh60yLKDUkKDTz3uPQsxTKnghE+ncQZxjz6G0l/6duGYXCDsXGa3Z0gWk Djhg== 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:mime-version:content-transfer-encoding; bh=kv2IwrRCWvjl90KLYznRzS05j6rVbW2oPC3nXpHDO7s=; b=gDs5qcPKVJxX5hcBGa19mwhBj2Ro0xED2SLcll3qI4JzSWdjhOyPI6NEH9kXg43/Ij wr2riqqBEpduo3nX+IB7ZM3V61U5LtLcRDlbsWfEaWkd5tzJl2xgdFXT/7t7t3gsQPFP ianoBYXX3So6AyEThwJecE/rjdO9HQVeGDLkVDe4rZXCH6/esnKs75Fzh+r2lyfg3yDT ZYwR/a9QO9OLqVxUCoqw+Vz5lz2dlW1Qe1mj7uDnXFTqWnTBklLIHXa72oQPGPtjmGmg D++euw1VbrZrWpvTZRx83ILshLWtIcqJt3z4nJmRRJmOzctnN5cEM3SMSNMVER2oEq9a xTeQ== X-Gm-Message-State: APjAAAW0azt7JQgxkYueWMWBiV2gjPGhsmr3q2W6pmlcaXBjUTisKNDv 8ZFCsP0FSvRgsgDTAuTAJYFRiQ== X-Received: by 2002:a1c:b189:: with SMTP id a131mr9145569wmf.7.1560532713548; Fri, 14 Jun 2019 10:18:33 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id w67sm6030603wma.24.2019.06.14.10.18.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 10:18:29 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1F4EF1FFA5; Fri, 14 Jun 2019 18:12:02 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 14 Jun 2019 18:11:28 +0100 Message-Id: <20190614171200.21078-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190614171200.21078-1-alex.bennee@linaro.org> References: <20190614171200.21078-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::335 Subject: [Qemu-devel] [PATCH v3 18/50] cpu_ldst_useronly_template: remove redundant #ifndef 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: Paolo Bonzini , "Emilio G. Cota" , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" This function is already under #ifndef CODE_ACCESS. Signed-off-by: Emilio G. Cota --- include/exec/cpu_ldst_useronly_template.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/include/exec/cpu_ldst_useronly_template.h b/include/exec/cpu_ldst_useronly_template.h index bc45e2b8d4..42a95237f1 100644 --- a/include/exec/cpu_ldst_useronly_template.h +++ b/include/exec/cpu_ldst_useronly_template.h @@ -114,11 +114,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); }