From nobody Sat Nov 23 20:10:02 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1731547194; cv=none; d=zohomail.com; s=zohoarc; b=oJieG0riEBbExOCalKCIjEC1aBf+/qCoPH4e9JTvq7HFtmdSIc/s7wOv9Fo+CwsGC4osJzBd+zv78NC4mWagc4RVHBunY8y5q/l+ETdcB2qluwjpjNU+N6nH3YuqTdJeIrKQydsvuWRxKxECcs+o8kZS6xAwBnp+55jCwKQftsE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1731547194; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=X3oqMeHT71R3KdP9eZWoYcjlbOfOwEShX9l191wOq00=; b=hx1f0e00d/kc04keyxdbWsOYflYpQq40PFMse7YQhYK1hl7OxhJqws34aM15Nv76gXvBlnbJhYBQuBtUWlNUprp6SS42TV7Rr23vqZvYmWhL3jXu0XiOVC8Rbh51Zo9k2tPTUMcLnetU1cl61gI7s8nGeLhuP2ynUt0cYRYGEBI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1731547194644621.9818360807944; Wed, 13 Nov 2024 17:19:54 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBOQs-0007dV-4R; Wed, 13 Nov 2024 20:14:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBOQq-0007bp-Du for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:00 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBOQo-0001zO-RM for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:00 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4319399a411so965915e9.2 for ; Wed, 13 Nov 2024 17:13:58 -0800 (PST) Received: from localhost.localdomain ([176.187.209.238]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432dac0aea8sm1385325e9.31.2024.11.13.17.13.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 13 Nov 2024 17:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731546837; x=1732151637; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X3oqMeHT71R3KdP9eZWoYcjlbOfOwEShX9l191wOq00=; b=n4+c/Fvo2dTX3JgaWSwTpv64eiLSaVvaJWy5x1ch0LlFGH6lVN/T2LLpSPUEHm2vd3 KULM1pv/8+TtEa4mheq2m/+QcoUPy78jZr3Gxg65p1UcwwKaEluP/yha0GtC8hdTRped +34trvYpmLM6Lrei/Zz9+D42M/xcKAkxTM72CnVg6ZC8FKBGmDTfyjp6iRAlUho1aSMC LB4GsQvr9NPKK2Qmsjt3HAM1Z9pnjgdFaGlcq77pWBqYrzcqoeuQ3xlDaTTTzaVjQUVx ue4o0hjUNgB23SOmv4Z0yR1LBt9AfmNm1vQtnuIASaIzOKuuDxc6BjGnByPHgKebmxny wLTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731546837; x=1732151637; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X3oqMeHT71R3KdP9eZWoYcjlbOfOwEShX9l191wOq00=; b=wl8FDGegvSJY5TO4IGCumR4FLCr3qLr649cldO+Iu0Ct0qrftJ/4o36LXppoJjSOXC xQkU3+KuaqTLHsVQ15+KRKvpPivRDI7iV1nkWWaA9+UKX4znnMhFTjUvsqNXHJVmFSvO ibgxwRgpFsyfzzvOfwoHjEpIcUgjzpsPp5wZ97hQfQiIX9OOjZ2fDNPLjaRjG+R5VhOP sDmtXODhcShY0AFhxjx5G8nrWu+tVET2m271j0wZgGMIINMrLNGhczwQPZUJXl6S4TC2 1sfre/opF+C8oD5KLPVG7OC1D2g7UCehe1CDy5cq9J1gVo+cOWDu9bz4C/ioqEf3QT8v 7I8w== X-Forwarded-Encrypted: i=1; AJvYcCUDBB8rHc8bCwigXfRSBPn5cXsiDya4O0a+K/2T9psT2BfjLeg4nh2WLXnivSeuQszJ2PyFgHmuFYVi@nongnu.org X-Gm-Message-State: AOJu0Ywo0bouQZXpXgozEgROP0gdp1yK6RM10+HBoU3A70tQCpUZMvFl NA+SiqWRHvqhHCd0mCfQfmNvAtYzLL30tRxIABOpjsdsGgL3z8LCxOmsds5zpmw= X-Google-Smtp-Source: AGHT+IFH/9CySRShC94nFw9UunKX2sRCoFuNlkS4DCoQU46r6V+s7M3YfRcJ8MxE5SjH5yjXwvy3Zg== X-Received: by 2002:a05:600c:a384:b0:431:1868:417f with SMTP id 5b1f17b1804b1-432d2730ce1mr69929325e9.17.1731546837008; Wed, 13 Nov 2024 17:13:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Paolo Bonzini , Richard Henderson , Anton Johansson , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Thomas Huth , qemu-arm@nongnu.org, Peter Xu , Pierrick Bouvier , qemu-riscv@nongnu.org, David Hildenbrand , Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-s390x@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 04/24] accel/tcg: Include missing 'exec/translation-block.h' header Date: Thu, 14 Nov 2024 02:12:49 +0100 Message-ID: <20241114011310.3615-5-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114011310.3615-1-philmd@linaro.org> References: <20241114011310.3615-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1731547196268116600 TB compile flags are defined in "exec/translation-block.h". Include it in order to avoid when refactoring: accel/tcg/tcg-accel-ops.c:62:36: error: use of undeclared identifier 'CF_= CLUSTER_SHIFT' 62 | cflags =3D cpu->cluster_index << CF_CLUSTER_SHIFT; | ^ accel/tcg/tcg-accel-ops.c:64:26: error: use of undeclared identifier 'CF_= PARALLEL' 64 | cflags |=3D parallel ? CF_PARALLEL : 0; | ^ accel/tcg/tcg-accel-ops.c:65:34: error: use of undeclared identifier 'CF_= USE_ICOUNT' 65 | cflags |=3D icount_enabled() ? CF_USE_ICOUNT : 0; | ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- accel/tcg/tcg-accel-ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c index 3c19e68a79..22486c5dff 100644 --- a/accel/tcg/tcg-accel-ops.c +++ b/accel/tcg/tcg-accel-ops.c @@ -35,6 +35,7 @@ #include "exec/exec-all.h" #include "exec/hwaddr.h" #include "exec/tb-flush.h" +#include "exec/translation-block.h" #include "gdbstub/enums.h" =20 #include "hw/core/cpu.h" --=20 2.45.2