From nobody Tue Feb 10 00:58:26 2026 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 1538597228195360.2991232386064; Wed, 3 Oct 2018 13:07:08 -0700 (PDT) Received: from localhost ([::1]:52784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7nQI-00040L-VG for importer@patchew.org; Wed, 03 Oct 2018 16:07:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7nOI-0002ca-Or for qemu-devel@nongnu.org; Wed, 03 Oct 2018 16:05:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7nOF-0006wD-AX for qemu-devel@nongnu.org; Wed, 03 Oct 2018 16:05:02 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:36181) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7nOE-0006u2-Tf for qemu-devel@nongnu.org; Wed, 03 Oct 2018 16:04:59 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 161C5D52; Wed, 3 Oct 2018 16:04:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 03 Oct 2018 16:04:57 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 61941102E4; Wed, 3 Oct 2018 16:04:56 -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; s= mesmtp; bh=mOVOWodmMVYr697izTsN8/2ez+zLM5WHswazphP/Ftg=; b=sbyXH 0d5Sf2ymjEOig3Dq/DepSZRgc7aAojIEqw78YQkmywPYmyvql4ZkaXr6ctZoFRI7 9WpXUgCpvV7E8RvVG0Vo4nd/Yw0PDz4UYbAD5ci5sfibnDdyVFfz2Z5vdai8wb/i CWXhLqUUgbx/PBWa6uvlBxeyuAUciz+C08R8/M= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=mOVOWodmMVYr697izTsN8/2ez+zLM 5WHswazphP/Ftg=; b=H4N8MiNWtoU0fXAefHQ7Bq3CzOyxIy5HWo3e02XS6mlnX SdeQGmNp2VbEbM6pdcYHFDaCgZM6LEt340ehPqaaO2l2H1nR7NtoTNkmZCl8VJ2P xkrHffW4zliRdVyl1QbUOtuvXlFApugUG4kq7klXMWdyZp0MOqqFNKQwt334Xe+V 5hNkm4I1y375IKBNbYuX98lfSLeUGQZAFiTd0Ml8abeQVNfnGF8Ju7WAJRh+Jrkp wsn0kw5qczUUt0D4lOBQt789lgU+Og4FWiY3oe+99tKTyZKVJxfjU/jUexe+3Cjc n6evDFZZBGvMn4yYlJyrZfLfhsGc8a2uuZI68qapw== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Wed, 3 Oct 2018 16:04:52 -0400 Message-Id: <20181003200454.18384-3-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181003200454.18384-1-cota@braap.org> References: <20181003200454.18384-1-cota@braap.org> 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 v2 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 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Emilio G. Cota Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- 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