From patchwork Thu Apr 18 19:25:23 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: 789849 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp736355wrm; Thu, 18 Apr 2024 12:32:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVBh95y+xCGZcBCgwOZqslABmtC+mEflIChfd1QCm7noflLiSYfCBU22fS91LhDSBb/dJ4GFT+W/mv8i3iy+9D7 X-Google-Smtp-Source: AGHT+IEn6DSJIImOUTojGr284t5X/yLrXXCXXrvhyubkUUB3RtX0I08DmADolvcgTmZpUM50o2og X-Received: by 2002:a05:620a:1903:b0:78d:5d7c:9896 with SMTP id bj3-20020a05620a190300b0078d5d7c9896mr5580629qkb.36.1713468727455; Thu, 18 Apr 2024 12:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713468727; cv=none; d=google.com; s=arc-20160816; b=MHAl++Attjp4oEsrHdizy1V6YonVFwFiYM8Vn4VeVZ+4ac4l0Tib21AORJn+oTXLJq Ic+zr0r8tKp4moq0MicG10QbcwwLVH06fS2Sj7M2RtDdX+TnZjC4E1uE8bWeUx/zGXWv qoo0RXKngOW6gwiMsSc+fd7z0jdV8GPcH2lSn1ucLTdv53k32W6OsyZliLRskUaztryZ dNG00C26kvJ6dCJ/lQvx93K3TFkv2YnOS4qAJSUd65JJLTsQB1W9Fj2sxEcbaqPfuUve jDS3m6HqPCIgOkYOBlKVLmXhyjTlqiiM5mqWyXCf2oLFn9oBOlrN7kRe5eid75gAUvpl rZpg== 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=1RS5jD62Ba4lXsw4t8DJy1DGdcN7GiTei/ES6lsX54Q=; fh=Saq6WcXEHkZGDKV5MNEf/aKd3AchrMxT8ymIntLDDxA=; b=gzfC2OTsivG9TCqMrzGfakvbrtysNkQU6EZ1YOrvUCAd0j71swB59taKfh4voSUOmQ Y9oMB17wSNGQhgAjj2zHAqOPridLiQ5WQiHl53AIodt9vppHNZBry6LekVW7qFpFiiO+ Or5fW1BlZcMkx9tlRqzwmESEKuQ273VGHAklC/9cXgm6uxIjEP4KuXyXrjBWTkxSWy7m WFXvQ/3kZQtfulrv6MOWA1VaZslsEvZU9udHsQDh3MCv03ltleD6c0wBt/YwgGwZj3/G m6Q0Wp/s/zcgHQj7BHETC+xgw9RQRA8fpDla66ZJgul1BCFj2lukr3g6/n39MI+xNjE+ KDqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QNPxqinr; 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 d13-20020ac85d8d000000b004368dd7068csi2234626qtx.510.2024.04.18.12.32.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2024 12:32:07 -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=QNPxqinr; 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 1rxXSR-0008EI-1x; Thu, 18 Apr 2024 15:30:07 -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 1rxXQu-0002xV-4T for qemu-devel@nongnu.org; Thu, 18 Apr 2024 15:28:33 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxXQq-0007mD-Vh for qemu-devel@nongnu.org; Thu, 18 Apr 2024 15:28:31 -0400 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a5561b88bb3so130442966b.0 for ; Thu, 18 Apr 2024 12:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713468507; x=1714073307; 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=1RS5jD62Ba4lXsw4t8DJy1DGdcN7GiTei/ES6lsX54Q=; b=QNPxqinriTRgMpcl66cpBmTca9NapujWI8A914HTs2AZytmXxDyZuyES/ThX5NTLGz B6SXVdgFp5QD4jTtap3xeFLzQuBh19+75iZQtcSAqYHzwS9nYhdkzYnZUSyKhTsc1wHN Y0kNz13zIdJB8ssHasoD+dmDjrqicVa0GL6wX+0CZcP0Ean2tPnFHzvdpfi/mq4oZkyy B0GLy53rlYamUBE45ODkynCmPSf8iyNMQiFxDqBTa56BLiLJyFQemsv9D458B7tnqyxJ rFOCueYVBbleHS99YwL5G1/wVZfl5ExEledz7VRu4zN2CE7DLG9pTQ48J+oNkjKCulDm Wjpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713468507; x=1714073307; 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=1RS5jD62Ba4lXsw4t8DJy1DGdcN7GiTei/ES6lsX54Q=; b=n9StB00xXX1+Vl9+CVvauIGVyx4/VpI/6B0kOmKydHp/OgpRnXn6S/okVgYLM8qeXd 6jrDMeX7yEGX/oT1MRFE3zDJBWTah6m1Fo0UptvEuCmHDRy+1iR9OPY9IzHiTBU8wjTP yS9kI1kv6GYGDNdt2wlOtVKUcMUpEZBj2njNGYii9Dvb8u6oMRf1sJ7LNjk85MXmeDDP 5H1NJWts7k+oEuVyazrAuusVbxy40+B/axIeSbGLwUWe4MGOr3MGuCkzzjoZ720u7oYs X8vrk4nA09eaCOckHO6bQlfQgmryJd5Hh47u/C2ervObRl0HiMB0w5rvmurJN1XigEnu kPNg== X-Gm-Message-State: AOJu0Yxj66kRAp98H2jbobbPjD38jOpNLK3m/Yo1Iry+KIc7QGJ2zYDz s0X2tlxnQRiIgTaDvs6lpoR6rvBiuHT1iOuB0aEWwXnUkszlK3QOM7TexH3SjvS2P+Rr9NSsA5p 9 X-Received: by 2002:a17:906:f87:b0:a51:b463:6b41 with SMTP id q7-20020a1709060f8700b00a51b4636b41mr56034ejj.61.1713468507162; Thu, 18 Apr 2024 12:28:27 -0700 (PDT) Received: from m1x-phil.lan ([176.176.151.213]) by smtp.gmail.com with ESMTPSA id s17-20020a170906bc5100b00a4660b63502sm1277805ejv.12.2024.04.18.12.28.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Apr 2024 12:28:26 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, David Hildenbrand , =?utf-8?q?Alex_Benn=C3=A9e?= , Anton Johansson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Marcel Apfelbaum , Yanan Wang , Mark Cave-Ayland Subject: [PATCH 24/24] exec: Remove unnecessary inclusions of 'hw/core/cpu.h' Date: Thu, 18 Apr 2024 21:25:23 +0200 Message-ID: <20240418192525.97451-25-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240418192525.97451-1-philmd@linaro.org> References: <20240418192525.97451-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=philmd@linaro.org; helo=mail-ej1-x62a.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When "hw/core/cpu.h" is not required, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/cpu-all.h | 1 - include/exec/cpu-defs.h | 1 - include/hw/boards.h | 1 - include/hw/ppc/openpic.h | 1 - include/sysemu/hw_accel.h | 1 - 5 files changed, 5 deletions(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index cfbf51822c..03963442a0 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -21,7 +21,6 @@ #include "exec/cpu-common.h" #include "exec/memory.h" -#include "hw/core/cpu.h" /* some important defines: * diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index 0dbef3010c..2b88db71a8 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -29,7 +29,6 @@ #include "exec/hwaddr.h" #endif #include "exec/memattrs.h" -#include "hw/core/cpu.h" #include "cpu-param.h" diff --git a/include/hw/boards.h b/include/hw/boards.h index 8b8f6d5c00..2daa23082f 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -9,7 +9,6 @@ #include "qapi/qapi-types-machine.h" #include "qemu/module.h" #include "qom/object.h" -#include "hw/core/cpu.h" #define TYPE_MACHINE_SUFFIX "-machine" diff --git a/include/hw/ppc/openpic.h b/include/hw/ppc/openpic.h index 9c6af8e207..8fe3a5902f 100644 --- a/include/hw/ppc/openpic.h +++ b/include/hw/ppc/openpic.h @@ -2,7 +2,6 @@ #define OPENPIC_H #include "hw/sysbus.h" -#include "hw/core/cpu.h" #include "qom/object.h" #define MAX_CPU 32 diff --git a/include/sysemu/hw_accel.h b/include/sysemu/hw_accel.h index c71b77e71f..6aca3c6178 100644 --- a/include/sysemu/hw_accel.h +++ b/include/sysemu/hw_accel.h @@ -11,7 +11,6 @@ #ifndef QEMU_HW_ACCEL_H #define QEMU_HW_ACCEL_H -#include "hw/core/cpu.h" #include "sysemu/kvm.h" #include "sysemu/hvf.h" #include "sysemu/whpx.h"