From patchwork Mon Jan 29 17:05:29 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: 767424 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp989357wro; Mon, 29 Jan 2024 09:06:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzJfas2CoULIN2WKZqYBitUZBaiWb4iGwSX/SXePQKmbCbkJeN5rtL8RZwJKxnOPOOOA1N X-Received: by 2002:a05:6102:38c9:b0:46b:6103:d522 with SMTP id k9-20020a05610238c900b0046b6103d522mr1372411vst.4.1706547974203; Mon, 29 Jan 2024 09:06:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706547974; cv=none; d=google.com; s=arc-20160816; b=rhveuyUhXrlfDihQn+qWbSnKgCs+rMfYHjfqs3ZHr7ttWVNHtPAzbZKvfmdqTwrAj9 SyRtxqXbcBL4JhtH9yKFuticw/YbQD9k45w8Cx7oOaGAwILXLfUXujbXUJZJHsrRfeyw mtLM2LL0DMyuPTvKWdsUVvvh70DelX5vvTk5+1aYf4EqU+JxuiOzjcBW1FbKsrXCUQxu EybI64Ps5QnP7f1ccsCNvx2bbpO2SckhAZ/pfgXSRAgsaZ/IEalr4OHP+xBNsoeKhlY9 cy59bq6YyYSisagUBnY6kXEGOHYTg4E/ekxe1HGu6y6xJjehA3+KspKKBVx9yxPhqpUs 6k3A== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=Gaer7CC5Q8Pb/+eDIFM+B255KCC9Szo86mfDtaUoLpA=; fh=0XpAUsdOXWL59AT1nmzC6uZKw9+n1lH67qnj4rDQTx0=; b=G7VRVaKhacdnIJDUmDXe2P5UfAZPIFH+wbw1go+Ogx/d7ZSrw8dm768LIEQn9KF9MX XUdtNrZlXtfsa/l9B0qQB0UFexRTB5osq+bHvwhfUgQ8Be6rCMkReeob8BCmG3cm+02A KfGkGNy7BXcp1qewxvps/iDqY021UXiobhQ2069Q0gyTjrugzKVWTeaLoRPysIWhS8cj EzTHfyMJBS6jom5tuPEywtpsnWIJUJXw54uh5l6Ag/5Vv+GVe6BhuumzBe/V47s+A13L AW0myK265Tc03JYbO3vjETbqIPtDDwR2HbG6HXUzCgCF8t0Vx0cuh84UsbJ73A38RlZs z4kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JA4LOPvB; 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 hx2-20020a67e782000000b0046b2e99ed59si259901vsb.483.2024.01.29.09.06.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2024 09:06:14 -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=JA4LOPvB; 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 1rUV4i-000885-Q2; Mon, 29 Jan 2024 12:05:36 -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 1rUV4h-00087h-RH for qemu-devel@nongnu.org; Mon, 29 Jan 2024 12:05:35 -0500 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUV4g-0008JU-7s for qemu-devel@nongnu.org; Mon, 29 Jan 2024 12:05:35 -0500 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-51028fadfe2so3305856e87.0 for ; Mon, 29 Jan 2024 09:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706547932; x=1707152732; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Gaer7CC5Q8Pb/+eDIFM+B255KCC9Szo86mfDtaUoLpA=; b=JA4LOPvBY3az2G+NpoQWPSE+Z0FK4NMKiE4iTXPdjLbdKewk7zD7eQnzKdAbTm6nVJ gquJst5pJ+iuRUWRs8qO76N9gdGT8kCLY3vZ2h5MRBwqy+R2Pkdlwwa7or7g53KR7l0o KRcS3Zy2spIaJzK26CR3NblVEiIUvd4ST/E6ZrpWmkgU26Z1flQhddW1wxCKredu7BfD We74aXWVDDtB6q1VJKHaPse4Gu7B+V6G1m+WYkgdDp2+knsQKUwSY4n5aF3nPUJgdYRO W3MjPfRBPOIkbqI+ho1WiyT6JdlIr0CZ3QObzh0+CZfeX1A2ZWS9rHBuEhHOl2XzQ0m/ xB9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706547932; x=1707152732; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Gaer7CC5Q8Pb/+eDIFM+B255KCC9Szo86mfDtaUoLpA=; b=P9ftaNbUkv5ySnQOhEDPbyqERfyT4OgZSgeVDIAHS5yFUV27EHol+K6Rc78iNOhnCL XXkNMPUsdCGcPCzIQViZphHUKRSP5KKQD5UFR/M0BNBV3P7wqiRMTD9sPThQljKlgUMM lknqdYS7KfRzXnanlWEkLHd151uhQR7WW3A2w/ORfhAIElv5A5kxVNbY/bYhYtC5YU7h al9NLRbYZJHYel7NB9cY362OtAILYOlshSiPOFD0s4dFWyWbQ1JudbXlHx49TvI1qwUm GOhDF1WtZVMiXJzqpsgJAqo6fpY/L+1Eis1i/btXR3XKW5Lp0W1agfgL79Ns6tNmnN0g 1BGA== X-Gm-Message-State: AOJu0YwhY4Jear9GSrcwcaA8smncwZG/1ampi8bwLGBZ3oT6VDDBfA7z VOgtESUT3ojZ36vrFzmViW5saV/GCDVQfV8lmg6xA26PC093GcQZvAF9B7OM9+g788pIVu7MOBU Y X-Received: by 2002:ac2:4835:0:b0:50e:95cf:e7b1 with SMTP id 21-20020ac24835000000b0050e95cfe7b1mr3736216lft.9.1706547932125; Mon, 29 Jan 2024 09:05:32 -0800 (PST) Received: from m1x-phil.lan ([176.187.219.39]) by smtp.gmail.com with ESMTPSA id fm25-20020a05600c0c1900b0040e3bdff98asm14681581wmb.23.2024.01.29.09.05.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 29 Jan 2024 09:05:31 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Daniel Henrique Barboza , Harsh Prateek Bora , Nicholas Piggin , David Gibson , qemu-ppc@nongnu.org, Anton Johansson , Thomas Huth , =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/intc/xics: Include missing 'cpu.h' header Date: Mon, 29 Jan 2024 18:05:29 +0100 Message-ID: <20240129170529.74305-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=philmd@linaro.org; helo=mail-lf1-x12f.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 Include missing headers in order to avoid when refactoring unrelated headers: hw/intc/xics.c: In function 'icp_realize': hw/intc/xics.c:304:5: error: unknown type name 'PowerPCCPU' 304 | PowerPCCPU *cpu; | ^~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/intc/xics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 8b25787227..700abfa7a6 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -40,6 +40,7 @@ #include "hw/irq.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" +#include "target/ppc/cpu.h" void icp_pic_print_info(ICPState *icp, Monitor *mon) {