From patchwork Fri Apr 26 19:41:36 2024 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: 792367 Delivered-To: patch@linaro.org Received: by 2002:adf:cc13:0:b0:346:15ad:a2a with SMTP id x19csp626357wrh; Fri, 26 Apr 2024 12:47:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVuxwHXInvVmSlo1V6hTbvMJ4KXDedY4fGcjtzTWKv1iNcFZTc69i/GjCAqFvpZHD5Kr3yAAatp8bqRM33Y+eK/ X-Google-Smtp-Source: AGHT+IEUCwlrrKbPo4szGWDjBVyv3sHsDB3SCCR88OJQ3MiuKq8hLe/BVaZCRldLZ2pn/3b3pM1N X-Received: by 2002:a05:622a:d3:b0:43a:3fb1:96d8 with SMTP id p19-20020a05622a00d300b0043a3fb196d8mr4347871qtw.29.1714160864649; Fri, 26 Apr 2024 12:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714160864; cv=none; d=google.com; s=arc-20160816; b=zjX2NZAnOdJjBU/SyZuguOttP4vNyxyF1ik5wdZMAKFjkew81xS1N8zrYzUMni2DLQ 7JnWBh4p6zAp3/f8y6oIK3a2Hc2Po9lOB8RblL2spw0Itkejx6C7v0iFYwTx4iwyf6zY QIBej50kVdh3B7Xov9do7tqPDVbQEK/443IEGBjaz1tfmYYSIFlWsAbxAVQ//S0zNzbb +UYjy5mhf+YZWSCkzn6ZQf8SpXefc9xKajOvV/IUZWFCAZ+0eQ4Ogy+PYc0XJaAlbG3z 6VQzFZOmu2ok52J9QdLLv8g0c49gnvSYUIaKN0NrdrNw0aXXMlZyI7DGqewqe1JWF3ay FadA== 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=9nS9nr2d38U1wk5zUyYU/3btoMDNoRWUI74KASdsEvA=; fh=5/3pYq1KAvHonxEvUpwdHvaCf4rwzSKbdhOfqjldFeE=; b=xncvBMn/Iv12/9zb/y21guc+iv5RONgaYaIdJhLhRHAPI2/z5qDirR3x098gyluu+x 9SvRZ77G0vnMKu8vz1e6+AkuGz8wq0J91tMNdGZeHUXzl196VlbP7IjtFGzg5x4fjkjT c6i45kk/DrxL0BWwt/HLzqOYgcVg+dzub0slkZCkmyaeU4Cq6MefhjW9BB43oUoe1tF+ hwvO+6KCese33VJMfw+gzmbzKaSiFB2KDYFwHpcKfsUc50FRyAG5+rB62B1PPNkU1Iwt tmVx/3k/ggV3zUNIOz5EDbKYCL65foc3RoTVJt9uIThpdB2QCxfdkqrUVr9uxExJigc2 dtqA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g+Tkf84z; 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 dj22-20020a05622a4e9600b0042aaa53f36dsi18708450qtb.573.2024.04.26.12.47.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2024 12:47:44 -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=pass header.i=@linaro.org header.s=google header.b=g+Tkf84z; 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 1s0RUV-0003dI-JR; Fri, 26 Apr 2024 15:44:15 -0400 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 1s0RTx-0002A0-FQ for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:43:42 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0RTv-0003DI-S7 for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:43:41 -0400 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-56e69888a36so2712406a12.3 for ; Fri, 26 Apr 2024 12:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714160618; x=1714765418; 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=9nS9nr2d38U1wk5zUyYU/3btoMDNoRWUI74KASdsEvA=; b=g+Tkf84zsikpdMkMbE1hkX2lh2LBPmBiUoxePt0vAu4H3hyEJSkFWmMuxgt/baL1qI C1jWSFh0DEAU0/DHBV5XRYVo7eoL/emcw7cvaJhusHjEoM7NgzunVTn9w5mQHbOCRZPb 9Fx6YQ1gjviUPG0yY84MdMxWwLXZsN3lJTm56eykf89e/Fx4aIPAhze+h7dfDrUQzwYe JYJDPh8ERMp1SykfA7eXkoZi8ERWdrTDdGwYScDRKEwQ5jcGa80Kq+VzO85tztFKkTSM OwucoPCEpVV78CZFbiSmiii9IkJT4rttSOWzKzF/QGLed+us+ohgd7j0W+rVfayB4rht 20Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160618; x=1714765418; 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=9nS9nr2d38U1wk5zUyYU/3btoMDNoRWUI74KASdsEvA=; b=OcWJwPUsY4M40mwp73ZcWDTaD9Pm9BkyZdF9e/L0KsNU8J+7TQ6bkcdVQDLKnwCPCP h15UigDroUPOnbH7MTZf9nONAP8IzTtTBIIOh8E5U+WAKGSLmgiD4Sdz1TUJSGK3uQS4 W/nUznRd6yNtycNC7nzRuts7g/cwHfa1gI1hBntdEUDpdk3yD7lIR/mgWjT3kjIBKGyp TZFKLWA9kRf9M+T4Qak+Hm2C86i5YP5sFWNdS7NDWw1WS0UF5nVuGcCLIeDjKD0G7mHA Nc5PkJoggV6yYAxaXrV5E7lPZ0GUNqqDLVjnnQKEo9X0u9fal8SN2lRVDkKe4wjmXiMq w1EQ== X-Gm-Message-State: AOJu0YysliIvG27SjjEhJWW1HN2n3mK+r09DxImk6SZy7prQDA5BRihB DZyNWCHACP2kevSpR8FyfAiqVtRLvWjftvqP4XYGyTn721mdLdOpLL5j69xIWLTj5Lak+kY42Mz kaFg= X-Received: by 2002:a17:906:f292:b0:a55:90c8:774f with SMTP id gu18-20020a170906f29200b00a5590c8774fmr2654479ejb.16.1714160617899; Fri, 26 Apr 2024 12:43:37 -0700 (PDT) Received: from m1x-phil.lan (aul93-h02-176-184-11-147.dsl.sta.abo.bbox.fr. [176.184.11.147]) by smtp.gmail.com with ESMTPSA id l2-20020a1709060e0200b00a4da28f42f1sm11065387eji.177.2024.04.26.12.43.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Apr 2024 12:43:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Anton Johansson , Richard Henderson , Paolo Bonzini Subject: [PULL 16/38] accel/tcg: Include missing 'hw/core/cpu.h' header Date: Fri, 26 Apr 2024 21:41:36 +0200 Message-ID: <20240426194200.43723-17-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240426194200.43723-1-philmd@linaro.org> References: <20240426194200.43723-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=philmd@linaro.org; helo=mail-ed1-x52a.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=ham 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 Message-Id: <20231212123401.37493-12-philmd@linaro.org> Reviewed-by: Richard Henderson --- 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 9c957f421c..2c7b0cc09e 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"