From patchwork Tue Dec 12 12:33:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 753075 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1876763wrs; Tue, 12 Dec 2023 04:38:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzYD194JeATVX9nqMCt+tYnGfiYf2MqfWJRpk77jMLwfmgDxw/p4ghfIr6uPW9AzHYfmnS X-Received: by 2002:a05:622a:1708:b0:41e:1d15:69a6 with SMTP id h8-20020a05622a170800b0041e1d1569a6mr10255672qtk.31.1702384715140; Tue, 12 Dec 2023 04:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702384715; cv=none; d=google.com; s=arc-20160816; b=KxXSs7O9wte8RaAS7rFywy9ruS1jhUWgkKH57/RHS50aV8Ajf2jOFPiMHKJvZ8erwv bSF31B9/KeOI5q/lbudH+gAJmtyCEcpv6KDYiqgGuPkNpUkXyZbEVsmiNQ7LHnf6UCYQ uZEtdpIur3BAr26y8WMYin+hBLwVt/TCX8/426cIQx0XTMD3Ub4lUMCh5cZG6pipi6B7 ZKgRGwxO+FxW3i6ta9AIHLBd3jTJcsSXufLaty61sJO6pm1Rp2QJzElia9z2FkEYa+Ow z3jJA9oCSvgGStPkJOjt/XIHwARKGubw4l4jsMOqPqbR7SRJPuNCtlv8C7PI0f31K7kt p8SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Sxk2B1Wo2pXRo42/SYBVVIycoetyzxarj96J9gTlCqc=; fh=vlFEGdij83GYetLrOUaCnR04sbYRvtckD5L7fw5192c=; b=gCYSli660DIx1V5jnHtWKstCkLfLjn/Ay24MirkiOPGNbpMOHlvTI7gjQ72W8QzFS/ n1XkIud3f37XRGJ9vc7XVXUO6WIacIhxPjjiQzBEEj/MT46oES7Jviy2QlgL/lnjpj+5 UNc1djaSRErQaGd9QIMejNXopTkQJndZeJx46tLp+J+wz8XamqxCqOn9bXy8TeBktV8D OFWUQh3hI4rvV+6nQx8j82w/TenfEN5CU77d6BMZRNm0GdZXuRCFjee5LBsr0tzpX7lH 1XNo9+7xLtRzkNDWRSNiluxAGmrEJy2FnKXbFQol6HANBo4ZOSK8Aq616sRnvN4AuaQg 3Smw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V2bpmBkd; 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=pass (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 fe14-20020a05622a4d4e00b00423d3459f72si11353843qtb.808.2023.12.12.04.38.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 04:38:35 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=V2bpmBkd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD1z5-0000Nc-1u; Tue, 12 Dec 2023 07:35:35 -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 1rD1yz-00008z-5G for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:29 -0500 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD1yv-00077I-4A for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:28 -0500 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a1e2ded3d9fso684115266b.0 for ; Tue, 12 Dec 2023 04:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702384523; x=1702989323; 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=Sxk2B1Wo2pXRo42/SYBVVIycoetyzxarj96J9gTlCqc=; b=V2bpmBkd48t+UNKRlIcWMrYDCzWi9/sx4EivLf4EzGcId4inn1eEis/vsvfpsWE7VW RRD6f3vjqweDXjze4iftHpqyQoEa91DlJJdRnxHmTROxuBbDQtXsioyqZt9F0gxsiXA9 3hy0UE7ztkaZ5oTyXxojBYxVEdyoaFzdpexlDsXMP4XA97A+I4oc0zpUtypNaJ9XAojp mC64unLKsC9D8/clJ9aaXBxrNjXXKCTaKnRIqZIXE2Gm+mXH+9ghlnWO3g8vaB8evDaV rRQETwMBlS6316OcaqUfjot1KMnlwxflCPV6vSrcF3G2NLn8bLBBCYeiNAdVKRLXdY91 livA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702384523; x=1702989323; 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=Sxk2B1Wo2pXRo42/SYBVVIycoetyzxarj96J9gTlCqc=; b=jrq2g/lYqQ0qdYTvV38pO+5pMyWb63dqoHCW8JUGxmIVhnPK3Qqf25suE6IO6XdSo9 nOPy+rA3cL3Hw1HRKCcbQqKurC0vZmOk0li6DKPZfsu0oNcj2cHXW1LjteQT3qE4zDO2 RRJhqxtXV9nywMiVi4qv8rrUqnlKLdh2E/Yjo1JbQFkmFoBBZZDiIJuYKzHCyGeI4s4j PagJRJz+HXdD2c//sQZmYjyhFatWLuYmfFk4XBvlcXgOwHre+gi0bDLyA54DJF4qU27V K4JF+YRnzXLFEpK5bcnCyU5pS90qwYpABcDf/NQfpfzg3gvoXWTOCvjUwp3+so6Kntya R+sA== X-Gm-Message-State: AOJu0YwxqcK1x0wK24lo4KL3MfR8Tu1SaB7SwICxH7VmSUAKaNzWA1MI mNm4nRazrLwX9BSGgoMZxUkOtOfBGJEQ0w1oBQIurw== X-Received: by 2002:a17:906:e0c6:b0:a19:a19b:78b1 with SMTP id gl6-20020a170906e0c600b00a19a19b78b1mr3781322ejb.116.1702384523264; Tue, 12 Dec 2023 04:35:23 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id tl12-20020a170907c30c00b009fd585a2155sm6134678ejc.0.2023.12.12.04.35.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 04:35:22 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Claudio Fontana , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, Richard Henderson , qemu-riscv@nongnu.org, Brian Cain , Thomas Huth , Paolo Bonzini , qemu-arm@nongnu.org, Manos Pitsidianakis , =?utf-8?q?Alex_Benn=C3=A9e?= , Anton Johansson , Warner Losh , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 11/23] accel/tcg: Include missing 'hw/core/cpu.h' header Date: Tue, 12 Dec 2023 13:33:47 +0100 Message-ID: <20231212123401.37493-12-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212123401.37493-1-philmd@linaro.org> References: <20231212123401.37493-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=philmd@linaro.org; helo=mail-ej1-x636.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, T_SCC_BODY_TEXT_LINE=-0.01 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org tcg_cpu_init_cflags() accesses CPUState fields, so requires "hw/core/cpu.h" to get its structure definition. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson --- accel/tcg/tcg-accel-ops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c index 1b57290682..58806e2d7f 100644 --- a/accel/tcg/tcg-accel-ops.c +++ b/accel/tcg/tcg-accel-ops.c @@ -37,6 +37,8 @@ #include "exec/tb-flush.h" #include "exec/gdbstub.h" +#include "hw/core/cpu.h" + #include "tcg-accel-ops.h" #include "tcg-accel-ops-mttcg.h" #include "tcg-accel-ops-rr.h"