From patchwork Mon Dec 11 21:19:53 2023 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: 752544 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1549275wrs; Mon, 11 Dec 2023 13:28:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3q1itn0NHnYJ3BnI3GQmRCZEwxj6F16WRsWBNN0DCNrf87Gire6Xbd30OKrSG0F07h2DG X-Received: by 2002:a05:622a:1a15:b0:425:8959:8acb with SMTP id f21-20020a05622a1a1500b0042589598acbmr6809382qtb.43.1702330098745; Mon, 11 Dec 2023 13:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702330098; cv=none; d=google.com; s=arc-20160816; b=lJcXMIEGEoJf5bqxL8Gp6Yx/3KvO6Kvc8Lu+rR/h9zSPT+JJsy2hE5m2ChNmqkxKaK 3G/PPYrUMACNGfCD/Tm3DY+Ref3emdG7HuIcO367rMyxWGeHtQlCuhBiL62N9QQsq46a RMW9VdN2Uok6LmsrSwHHitT+bMBnze9HhJAsAA3Y3/LOUMSzG5nXvuTcvefaPaG6FZig tQd3HtVu97ZmSnKmkC1D7zLr69cS5BvVVNXABoAxt8U6o9/0QPSa7de7DZoUMM6TtSEX zSyFCXz3JYgRtqcGp7+b8YVouz3Ie8/wWHK8655hXoWS2NdxP/MCu5ZCDyr7nDjJxMwd J4OA== 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=31p8j5Jt1hoDV9F+fYTdM7YWxOI6Tic5VBGPVB9TKlo=; fh=6uA3yvXeN55FEhLQ+7xhayEyGzy+Y3z2qOYV5oRrcR8=; b=c5xdkTAP6Prim2dm4CdypR3wuy9PN/xtVg0a8Bpg1ONEJnVnvznNqO8VsB/oQjlhoz MnLfP2anuU3LZtlNL3VVXqTqfGd+05EIQUwi1QVkomHeRu1qJmDjOw8IiA+xbo0v4+Oo nh/4sP9fWgiN8JOe6ManrbrDFmitlN2IDRGeB2n47DjdPtikhQz3oLBibuHhk3BZ2xPz TWrWYPHY/3c1rAAqjKQaK2Oxpdg5b4KowC7qODnHC32cuiCqSRt+YMAnisV8i6Mfi/fp 2HKC54ikTZ/ersKVehlCmrybCgrAsaPo/hun2Trm2U6/JQ9kvS2/Ai43bt0+mxOuamFe uQHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WH1TVbEr; 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 ew11-20020a05622a514b00b0042588de578dsi9910142qtb.91.2023.12.11.13.28.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2023 13:28:18 -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=WH1TVbEr; 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 1rCnjO-0004Cj-Bb; Mon, 11 Dec 2023 16:22:26 -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 1rCnjM-0004Az-8j for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:22:24 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCnjK-0005jk-Gn for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:22:24 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-54dcfca54e0so6339208a12.1 for ; Mon, 11 Dec 2023 13:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702329741; x=1702934541; 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=31p8j5Jt1hoDV9F+fYTdM7YWxOI6Tic5VBGPVB9TKlo=; b=WH1TVbEr7xsnjmJiqykhQC49Z7oj7479RqnoctPft4KZ5ieIJSJVDptDD4Oy9Nub+Y l8D6KMjEEBnK7LMqwsefrSPfltObQWVqJ5Jdzy7704J89XP3iIW2CI4c8kuzsur8XJB8 OsBIXzJeqPfWtfOYQsXjQWg0h2v4uKz42cuMMEHVIre6F2PP3x1jIG6lsgACj+ByR1rH f94SyGgI6Ff61zg5c3/D0CzMyw1v5FoU4nAuL9gYtYACkTYxD0gvOUKsdikjT1U2ogWJ /n2LNrECUTMlyMPQZOUi5mLfiu+aHIO0hNwNQHc2PpfKpFwnlu23sC9pgKZgho/O7ik8 sX4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702329741; x=1702934541; 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=31p8j5Jt1hoDV9F+fYTdM7YWxOI6Tic5VBGPVB9TKlo=; b=m6bsxHvAAzvrGU//SYt85Cvm62Uqr4WYL3RHZQBDZ/td659OxjcWO8nNpANou0fhpX dVd3vaaPFV41SCQ4Mqof5HhK/bfvmk8Gc1vgnx3M5+S4vLmkBzBSmNryU1UIvU8+JSHU Xgrf5qWlCMddzpT5RJSvhql74qgsEwF/SNIElfgrq0/TcPrmZjDvPIm1Np+1ceOrvtJX AoutNYFqSUwQH3+MvI9cC+CiAb2Y+oVtZjoKIWT+hIy9WT3PWzF/8kmH6VKyB8YpaMLO Gegp+JarhoGSC8wL6ptC4oO6vpGnUuGiSR3BrpvTsn+xuti+timbS8gZJtS+BZMY0Wcv XzMw== X-Gm-Message-State: AOJu0Yzek/S565NVbYODdWH4cMNfyDNnubWP9EKDVeX/wq0NEuEIhz0w gagoFpFXDZLE7P/dRR69ArYD5brzJdyhGDXJTXYEOw== X-Received: by 2002:aa7:c513:0:b0:54c:a689:2d8c with SMTP id o19-20020aa7c513000000b0054ca6892d8cmr3367204edq.69.1702329741047; Mon, 11 Dec 2023 13:22:21 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id l12-20020a056402230c00b0054c7aee67acsm4014017eda.97.2023.12.11.13.22.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 11 Dec 2023 13:22:20 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich , Peter Xu , Liu Zhiwei , Peter Maydell , Mark Cave-Ayland , Eduardo Habkost , qemu-arm@nongnu.org, Paolo Bonzini , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , qemu-riscv@nongnu.org, David Hildenbrand , Warner Losh , Claudio Fontana , Brian Cain , Daniel Henrique Barboza , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 16/24] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion Date: Mon, 11 Dec 2023 22:19:53 +0100 Message-ID: <20231211212003.21686-17-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211212003.21686-1-philmd@linaro.org> References: <20231211212003.21686-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=philmd@linaro.org; helo=mail-ed1-x52b.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 "exec/cpu-all.h" doesn't need definitions from "qemu/rcu.h", however "exec/ram_addr.h" does. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/cpu-all.h | 1 - include/exec/ram_addr.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index b1e293a08f..2d568ae4f0 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -22,7 +22,6 @@ #include "exec/cpu-common.h" #include "exec/memory.h" #include "exec/tswap.h" -#include "qemu/rcu.h" /* some important defines: * diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 90676093f5..aab7d6c57c 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -25,6 +25,7 @@ #include "sysemu/tcg.h" #include "exec/ramlist.h" #include "exec/ramblock.h" +#include "qemu/rcu.h" extern uint64_t total_dirty_pages;