From nobody Thu Nov 6 03:45:06 2025 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; 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 1538774392130821.2040957701403; Fri, 5 Oct 2018 14:19:52 -0700 (PDT) Received: from localhost ([::1]:36933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8XVm-0006PS-Ta for importer@patchew.org; Fri, 05 Oct 2018 17:19:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8XRc-0003gs-7s for qemu-devel@nongnu.org; Fri, 05 Oct 2018 17:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8XRR-0000kl-50 for qemu-devel@nongnu.org; Fri, 05 Oct 2018 17:15:28 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8XR9-0000b6-Lf for qemu-devel@nongnu.org; Fri, 05 Oct 2018 17:15:15 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 21011C64; Fri, 5 Oct 2018 17:14:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 05 Oct 2018 17:14:58 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 62475E4A3D; Fri, 5 Oct 2018 17:14:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=nYzLrBi+6IUI1um7n2y57xEkcc9dZ27eqVYitngjqzo=; b=DJR3QoLFT6Sa fZl/bZ0087Mb03bvATrU1mMF1/oz0HsxtxVUd65fD8c84FqD58EcuifHWeXn2Pru RDmbiaiTULcWhMFX23sngm5/QLZ8ZDtu/cT+x5fLERKR7dPRBq6i3HDwHx+J3EjN htc1h41jImq52pAAEznrLu9AmzZwNa4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=nYzLrBi+6IUI1um7n2y57xEkcc9dZ27eqVYitngjq zo=; b=hk/a9FSKlAC+iM0n7XIHEFDFj6ypGPeFrEVO0Qwk7vU+10jjwx9YBSLI3 lhZlJECh07JCd16/txdh88MIvY/aKoqoVFtgwuwnBntrfWmotpU8Qk+FCQ3ileav W1fiwTn88CaGO32CkdaZrJzH6p1hNwNkX0G2ipon1wv76myYZ/+PpVNg5ZyhiTUq 6QN6H9P14kRBHvDH13ZJgBdjjYpxspmEZt4pY7z7PfZHigL1fr6/iH07g88ALXbG Rl4/5GDCEcsKSDYPFeXXcSkOH5ibZaB26tLJMpaf7EtNhNXXcffcqJ7O1LdLe0Ok vS1Jg6MQyZF2UdvrNimBpJ2CQKu3w== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Fri, 5 Oct 2018 17:14:48 -0400 Message-Id: <20181005211450.847-3-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005211450.847-1-cota@braap.org> References: <20181005211450.847-1-cota@braap.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH v3 2/4] cputlb: fix assert_cpu_is_self macro 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: Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Reviewed-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Emilio G. Cota --- accel/tcg/cputlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accel/tcg/cputlb.c b/accel/tcg/cputlb.c index 502eea2850..f6b388c961 100644 --- a/accel/tcg/cputlb.c +++ b/accel/tcg/cputlb.c @@ -58,9 +58,9 @@ } \ } while (0) =20 -#define assert_cpu_is_self(this_cpu) do { \ +#define assert_cpu_is_self(cpu) do { \ if (DEBUG_TLB_GATE) { \ - g_assert(!cpu->created || qemu_cpu_is_self(cpu)); \ + g_assert(!(cpu)->created || qemu_cpu_is_self(cpu)); \ } \ } while (0) =20 --=20 2.17.1