From patchwork Tue Dec 20 13:52:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 635459 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2928644pvb; Tue, 20 Dec 2022 05:59:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf7JTf5n4hawwSJPrevGlPL1cfvrehW056sB+Kb09xDUCzMvzOHu0yVQk4FBxFS9IQsG6MFf X-Received: by 2002:ac8:4a17:0:b0:3a7:e2df:e868 with SMTP id x23-20020ac84a17000000b003a7e2dfe868mr56334356qtq.41.1671544769801; Tue, 20 Dec 2022 05:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671544769; cv=none; d=google.com; s=arc-20160816; b=uiAk+47zmdaI4w0GEzj02bpvIE/zUcIQ9T8D3E9Y862DHwAFyHDroW8VgUZQiVTxqs N8UHMvGWIec6W/9h1Zk1rlWYhLrFH5s7ShXxjjaoQKuplb52e8LqxaN2zf+8F482a1pw hpvGhgyqrbDStLCiIrmN5RBLisELbVWkSJL16thSMnM5HnOQeXotbbB3/r1dAYj2B8Fs WBO/b6Lz0jKILCeJ51tDRbGRw3e9GbhY81i2C2E9CXS8JeRY2153mxmvN3+J9GpA/YPO qxzDAe2zdJbgazVrX0yEZkqqApB80kW6gyytJH3vUUCziJMypMJ30HuANRHno/wQG9yh bplg== 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=umE98gdRHDRDK4EVpp4UFfCVYlLLuK/yAYvtgaqx+tI=; b=0n5aw6EoK+6aYwLjbGrNMWwtjs3uZakRUAJ0nywvnmnOYtdGVvvw4DZdh5JOQPcoYI OZHw63d+RsTYrrW7LSW4y6OJ6tPNJ0SYzhDhTUnBO45sVLdg/a9J59MWeHvbADzAbaLU sq2vuyWjgxVWJthwkmuUcSdJkQYByenYfmY5KwyILBKogpIKN6cyuCXLB62JbuVwNAfa 6ey+BTgwE6ewhBrwMifs4ngwbEAk/YG6nQa5iitQ66hRL/un+Xb2MO1BMBF9dxMdS/VN ivQzQ9+S0R556BtysHklxGIQCbBy35RYqippGT0Z22Lzn/gqxrqAsU0NiD7oTud0k7Tw CRTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JXaWnjf5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u4-20020a37ab04000000b006fa09b601basi5028361qke.528.2022.12.20.05.59.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Dec 2022 05:59:29 -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=@gmail.com header.s=20210112 header.b=JXaWnjf5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7d3Y-0004Ff-D7; Tue, 20 Dec 2022 08:53:20 -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 1p7d3V-0004D2-R4; Tue, 20 Dec 2022 08:53:18 -0500 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7d3T-00012P-MG; Tue, 20 Dec 2022 08:53:16 -0500 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-1445ca00781so15457911fac.1; Tue, 20 Dec 2022 05:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=umE98gdRHDRDK4EVpp4UFfCVYlLLuK/yAYvtgaqx+tI=; b=JXaWnjf5mseHwm75UFOaxAmd1AoEgMMdZO/09DWwhFMKY9dfUUMNKOV5z3do0Y0A3w sK2i1sGUuT/CQLsF1VvIJKm+Jo100pXBneJlzAjH/wVEqOEfZRdnnaMj6M0TNx5A608P 4SUWCVv2HQkfZ7ojyn9UAB5rC9Su1Og+G44Tzhrf/t/HCxBX129jS/9Dj7V/FYyNra52 VL01emwNa1kEofV8keseO06WLlHMac/mdw7oFpfYRYoR5+w3C8SIYAhfS7K7tB1CUfeN PqwHN63wIjNCLO3UapiwVG22lwm5nZ87EZZQjVII5Iva5snIjXw7DeJHWsLk5O2pEGxy L7Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=umE98gdRHDRDK4EVpp4UFfCVYlLLuK/yAYvtgaqx+tI=; b=WcpZTLL/ET2O8YbgPIB05VMeVmwECzY+ZvUBBadOS5g9jKAEag00+c0Fiy13ufg+R5 n6AVZhOQQHI2RDNaVudEa/WlRnixaKOkuXJ9ObW5w7R90S+p7egh7fIGabkuKUuKx8zl 6EjLhMoLV0zvR0PE1wGvCQFRGjGSipvIqpz5iqvuI0lHzd1vV7GfmWw4tarTPyLSe+H+ 54qj8GvWCX1zF5XN35BGVt/m/YJfSD340ZLSJVDZTxyXRb0GRNzhuPknTilQal3CdphX N8gAgCnn27UFRZIb6KeOP+UtQu+lmSj5lFeSNelNoGIXnDfuTBNdWl2BftDQHap2YVpF SB6A== X-Gm-Message-State: AFqh2kr6waCKg5ccCKqGGmTjyA5M+NpbwJAS6XwsBaGC5/P16cG6sWOZ RSvrSmL3aNOAshVGy6ryjY8hSloTV0Y= X-Received: by 2002:a05:6870:9f84:b0:14b:cdc5:870 with SMTP id xm4-20020a0568709f8400b0014bcdc50870mr7266500oab.10.1671544394266; Tue, 20 Dec 2022 05:53:14 -0800 (PST) Received: from fedora.dc1.ventanamicro.com (201-43-103-101.dsl.telesp.net.br. [201.43.103.101]) by smtp.gmail.com with ESMTPSA id f14-20020a056870898e00b0014474019e50sm5994933oaq.24.2022.12.20.05.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 05:53:14 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, danielhb413@gmail.com, peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 06/15] hw/ppc/vof: Do not include the full "cpu.h" Date: Tue, 20 Dec 2022 10:52:42 -0300 Message-Id: <20221220135251.155176-7-danielhb413@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220135251.155176-1-danielhb413@gmail.com> References: <20221220135251.155176-1-danielhb413@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4860:4864:20::30; envelope-from=danielhb413@gmail.com; helo=mail-oa1-x30.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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 From: Philippe Mathieu-Daudé "vof.h" doesn't need the full "cpu.h" to get the target_ulong definition, including "exec/cpu-defs.h" is enough. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel Henrique Barboza Message-Id: <20221213123550.39302-3-philmd@linaro.org> Signed-off-by: Daniel Henrique Barboza --- include/hw/ppc/vof.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/ppc/vof.h b/include/hw/ppc/vof.h index f8c0effcaf..d3f293da8b 100644 --- a/include/hw/ppc/vof.h +++ b/include/hw/ppc/vof.h @@ -9,7 +9,7 @@ #include "qom/object.h" #include "exec/address-spaces.h" #include "exec/memory.h" -#include "cpu.h" +#include "exec/cpu-defs.h" typedef struct Vof { uint64_t top_addr; /* copied from rma_size */