Message ID | 20250123234415.59850-13-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:18c8:b0:385:e875:8a9e with SMTP id w8csp531762wrq; Thu, 23 Jan 2025 15:46:22 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW/EWSs8Y7mJiceHwQIXykZpC97IQyZws1Bws+0QYtbPXTsmyQbQ36nsQvCh3upa3dgdfacWA==@linaro.org X-Google-Smtp-Source: AGHT+IGrqOD037P1PMGO0xhDjS9rXKQHk6C+7KpizE42cnanyslYi2pdxxmXZ1D4K8qwFW86uG16 X-Received: by 2002:a05:620a:483:b0:7be:98a9:298 with SMTP id af79cd13be357-7be98a9031amr339271585a.19.1737675982313; Thu, 23 Jan 2025 15:46:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737675982; cv=none; d=google.com; s=arc-20240605; b=fxonWpZHSz54oPVkCLyc7idvpiAOWODE6YD95+fGHQ5S8Ra9eik7tauSgz4eZK4Rtd uqQzI5IxjAWgzAIAQUzWC7HoA2b4sCZP1G0EhzlxcaDXF/jSvhx2j3prHpYrQi/ohJ1G eyI0/gfjjDdUj54lGlssWIaEU42KCUJ2KZPsY5uzRGjHbkDMytw6fXz1soJ90HfpyszF j+P+dHULG2O+YZaBRREt+7SusbN7bFLaGBB3OY1LSsSLgLyLZpXvT+Mqi3ZeLU2R7PU4 kg27zTSgaUpgjnbheimCandas00SzOuW2s9CCP8+RNQl1mUQsnq9gCaHWiMBCRDOtve6 f6UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=MdlpzTogAHHu3L1/GbHJ1cNEJlm92RpTH1AYDuj/6CU=; fh=n8P8n8mjPTF98Ox3aCUz2zCvv5jUpnKQrp7JPLvRSRI=; b=Nspt+6AJLAKxGldDAzONPs4ZAbd2iD+CEMw48Dtb1Br1eoKEfC/nh8MdMtgw1wPL+H C7ngsQ1KviMH2Gsyw+DzJrPyxYHt8Cy3VhlBvMDnmtMwLgFTCe+/YG4xkCLM1jcnfGoR ZlPh9V60Oq+Vxn2RnDVrw6z3rOUazqNqlDlMZnw/LI3BpGjq6U5z/i0izZs4dmziiwbn xZ2FkphnQYDTuyExVN2B5YVxI/VwxuwRdyWBPOQDsiRreBveIIoeDHzMwhMK8+i11C4r XsPUtZC4suzPzG/PdKK3Xq9mfLg+KiBXRag9Y+59ZH1OLILcpXArLLBqQ/2VBjMAL5k7 /ZlA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HlEzBrFe; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-46e66b8af07si10065671cf.463.2025.01.23.15.46.22 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Jan 2025 15:46:22 -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=HlEzBrFe; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tb6tB-0007I9-O3; Thu, 23 Jan 2025 18:45:33 -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 <philmd@linaro.org>) id 1tb6t6-00073s-Tl for qemu-devel@nongnu.org; Thu, 23 Jan 2025 18:45:29 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tb6t4-0004JS-BO for qemu-devel@nongnu.org; Thu, 23 Jan 2025 18:45:28 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-436281c8a38so10710715e9.3 for <qemu-devel@nongnu.org>; Thu, 23 Jan 2025 15:45:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737675924; x=1738280724; 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=MdlpzTogAHHu3L1/GbHJ1cNEJlm92RpTH1AYDuj/6CU=; b=HlEzBrFeis/p/buZw/+pZg3M/SggCMDoWtcQvpJcnopGfawipph5W67X9NZRIF9mTS ttHPhnczkEesa1KfHEIwEnmWFTHkGVwIclAHmEEDMG+/wavln9s+ytd+ySYM7wVdPSra QudrTjPD6hVdTSUa5+39bPw8EEf5hYG16u0xjRHaFCO99fOnkHdN84YGKMhInBBksIxP 0g/jNbjxHZ73WoXtvxLw7a9RSUF2H03m9XjNOpLGQVySTZiDEnFGK9DmMZEx5hXfsPre oqfU9V4SC+x9DNQTK94w3a3FOvi37+R7BA2TWWPh84n/SRiJDjZv1iqDHJI2fsfCDDp6 HjYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737675924; x=1738280724; 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=MdlpzTogAHHu3L1/GbHJ1cNEJlm92RpTH1AYDuj/6CU=; b=dEoSm4xC3n3mILM6LnTenauXS2taXYzVWN5B+w+CUuQl38X9MqilHxgObrFiy/KxY3 1DVaoFeveLISWvbuwEoBtMBcv7ZIVp2n2d4i5mGLu4bW1rkdRMMvRpZ9aKi8nUwZ8GRE 4VJLd1XxIXW0eI4bxDbo+caX3mCZ5zHOQCX9kJ2ZAx1PZ/16VUatL/Uavkwkclff+w7g HvlC+XGdt44Qh/HDDlNwqiBQBD3q5f0GL1DA7bxomikNSRWTvsyiG68LRqk483CjFXbw 20x0DvU8FIexEsLpwRJ8BqiwjptCQ9EDmydcznJ5AtowYf5p52WrogqvBdCzNhcOndSF L6XA== X-Gm-Message-State: AOJu0YxbsAlYoahgOjfvOxvKnvbg3zJyEJSixAej72VmlqHScCKG5BKC qfKGt7EqtG8YRtREkA9KXGdswL4LFdiOjIoYGFbBvsTI0IC5lGtukTLYWsOneU5BtAJYZZn5H9R +wWs= X-Gm-Gg: ASbGncvAvaT40KzrhFZ10sv4KhaUEoBzlVrMkYoIi+3c9/NPeSnY4WnN6U4wmarYcLM QMfpCYmu02iSFnm638nsZssyVJI7bxMbv99yykmFP/3z+7sBc9cEoGuJU1tUhL+acFrVTCJs+h9 lY8KOTzeJqks8pG++9RqOmwc7LahQUT+QV7Cl0+dukQrat+1bfpqE22l1thWo+1c83nrW1AnUzj sN644+rAUhPsu1Z1dEicEp9f1gEZX6OsvMx47evZswhfBinJCLADOKJqlXMf5wBZkWSNIRz1GlL xR8kPEnEMlRtTwsaGK3vYAf2q5nfyZUz9qSYhdfjMYvPxucB4O5E9Ec= X-Received: by 2002:a05:600c:1987:b0:436:faf1:9da with SMTP id 5b1f17b1804b1-438913c68ebmr255744445e9.2.1737675924510; Thu, 23 Jan 2025 15:45:24 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4fa416sm6932195e9.6.2025.01.23.15.45.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Jan 2025 15:45:24 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, qemu-arm@nongnu.org, Igor Mammedov <imammedo@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, kvm@vger.kernel.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, David Hildenbrand <david@redhat.com>, qemu-s390x@nongnu.org, xen-devel@lists.xenproject.org, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 12/20] accel/accel-cpu-target.h: Include missing 'cpu.h' header Date: Fri, 24 Jan 2025 00:44:06 +0100 Message-ID: <20250123234415.59850-13-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250123234415.59850-1-philmd@linaro.org> References: <20250123234415.59850-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[01/20] qemu/compiler: Absorb 'clang-tsa.h'
|
expand
|
diff --git a/include/accel/accel-cpu-target.h b/include/accel/accel-cpu-target.h index 0a8e518600d..37dde7fae3e 100644 --- a/include/accel/accel-cpu-target.h +++ b/include/accel/accel-cpu-target.h @@ -20,6 +20,9 @@ * subclasses in target/, or the accel implementation itself in accel/ */ +#include "qom/object.h" +#include "cpu.h" + #define TYPE_ACCEL_CPU "accel-" CPU_RESOLVING_TYPE #define ACCEL_CPU_NAME(name) (name "-" TYPE_ACCEL_CPU) typedef struct AccelCPUClass AccelCPUClass;
CPU_RESOLVING_TYPE is declared per target in "cpu.h". Include it (along with "qom/object.h") to avoid when moving code around: include/accel/accel-cpu-target.h:26:50: error: expected ')' 26 | DECLARE_CLASS_CHECKERS(AccelCPUClass, ACCEL_CPU, TYPE_ACCEL_CPU) | ^ include/accel/accel-cpu-target.h:23:33: note: expanded from macro 'TYPE_ACCEL_CPU' 23 | #define TYPE_ACCEL_CPU "accel-" CPU_RESOLVING_TYPE | ^ include/accel/accel-cpu-target.h:26:1: note: to match this '(' 26 | DECLARE_CLASS_CHECKERS(AccelCPUClass, ACCEL_CPU, TYPE_ACCEL_CPU) | ^ include/qom/object.h:196:14: note: expanded from macro 'DECLARE_CLASS_CHECKERS' 196 | { return OBJECT_GET_CLASS(ClassType, obj, TYPENAME); } \ | ^ include/qom/object.h:558:5: note: expanded from macro 'OBJECT_GET_CLASS' 558 | OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) | ^ include/qom/object.h:544:74: note: expanded from macro 'OBJECT_CLASS_CHECK' 544 | ((class_type *)object_class_dynamic_cast_assert(OBJECT_CLASS(class), (name), \ | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- include/accel/accel-cpu-target.h | 3 +++ 1 file changed, 3 insertions(+)