From patchwork Wed Apr 17 18:27:56 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: 789331 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp173655wrm; Wed, 17 Apr 2024 11:31:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVTb4Gn45RHhvoEiwey8REHXEoaRTictG0hm1z4odk41jwn842THQ/blymn2foTG+g/0wayI5v8+VnN6iWrcKFO X-Google-Smtp-Source: AGHT+IEG9W1LKkTs4NXhGGmYqrDKSyhEb6GnRG/bmhGFzqqk/5ZeAcC4FHZgsnSG1OfxM2cF3Ns6 X-Received: by 2002:ac8:5a43:0:b0:435:15d:8495 with SMTP id o3-20020ac85a43000000b00435015d8495mr427296qta.20.1713378703350; Wed, 17 Apr 2024 11:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713378703; cv=none; d=google.com; s=arc-20160816; b=DjZPPrNkkxPxEHMqKEpY9Sr7G0Yk+460ysoOUptN29j+dw1mfbA6KmC121g3WJeK0A XtLRYDkhTssoSCfVNtzcIi7kLkEhBCBGZnmV4+nXrvlh3hSxu5R2/Isn1wi/k9sqBfeH COAGq/ElaiDNarz0XKlR5v0G/t0dVPTYWGaZNl3diOiBvy8Vg42+kQDC7FHP6BmtmgzM Lx+sId35tRl7tlTTpHjOrpK/XIic4mstfMPmPZzr5Pvn3tNLv2gC3V7OMwMArV6FgV1A gHW9bJ3sgBP8wbTlHhkq9OYS8ptxra3zdKQgiOAsKr47KZKFF3motk/NEZCMI1k4Oihw mheg== 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=QqXKfsFzG8GoX3EjCJAOwlqA9OuB4aRKiAFifCWZKos=; fh=ZXDWg7hKG7Hj19AbRuutTLw+Zvn/B9RsGUUw/YagpFI=; b=c1cLECn2sm31pBhFt7jflt8XTexmlJf0937cUt9RCCN/807AJ/m0DvtIBGnxynXEBa sG63R0QzCJUFNBpf7mo3Yl4np+OPy15PaoFzL3jyq8tPRP5mscfeIO2s2c4Dub0sDAt+ DU541rbi6GMsqgxFVQK6zEeKsQxD101cXVwHNgW1dLmgKCTJa/oX5ESWAr8NwdqxygoU S/Gy+RYOew6kqXVATjVvDbbSdl0nDSUn9/3PwWk9YjgQkffugPnTSKFuG0+PoGdTm2gE zDX7K8yU38JOqn9IkJonwQeyOXIIY95uDeYIMEx3/6CP7yLdPahQVpnYesy2GfwMEYYj XAjQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zTVXbrXf; 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 15-20020ac8570f000000b00436895a82f0si13906785qtw.679.2024.04.17.11.31.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2024 11:31:43 -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=zTVXbrXf; 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 1rxA21-000184-H3; Wed, 17 Apr 2024 14:29:17 -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 1rxA1z-0000x3-NG for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:29:16 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxA1x-0003U0-U1 for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:29:15 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2d8863d8a6eso910581fa.3 for ; Wed, 17 Apr 2024 11:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713378551; x=1713983351; 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=QqXKfsFzG8GoX3EjCJAOwlqA9OuB4aRKiAFifCWZKos=; b=zTVXbrXfC7Tq/z6t08jKTwC+JbuSfKihN4QbXDp/qxdlMnRqbAgbyFpJUe5OIJSVBj APCecbDQkkdVB5JkB8fKDr2k426wRVM4flj1Ww0Df2uUcPDpN/OJJgeOjau/8+B93Hlt L/KknP55XV48eI8wC5RDbvuc0E3hTN3hw66zdfMcFBX8HJ00by/OkeJBxqgm5SX4zPDq tGKORfrCn7vxaVOhvxs3G/+I03PcwKV1M520dpClKI/AoLj9oBfKeOuk1y16Qhb5+3qJ DFOMPwAJ+5G4T1mgtBNb5KE9RCLXRs13CD5t1GtCigsb9YfOVgJ2AhYysC5mgmHxfBuB rujg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713378551; x=1713983351; 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=QqXKfsFzG8GoX3EjCJAOwlqA9OuB4aRKiAFifCWZKos=; b=iEtwoHHQx8PiXj25l58A7fQ594MulqMEYiy8kFk7FovujVNxs7u7/uxvTke1dR6CQP hbTl/8wNOFSHtEZJL9chUj7vZ5kto3/NmhRvDpMmtGqQ4cdRgT6SEtnxJJG5DR9FCppX 5QimkcGf1qxoURoyoOpZqoCEBOpX70Mb1LIMjHnz9kAc3gqeE4xKiE5vuMyLB0OoZUO9 hJqhdVWTs1Arm4etdGdb7rms/Gjfg0oXiYaQB3i6ySyC+mHPd1TR9obtLhFZbpvcX/Ho T0Kn+pdgPZ/5YMj+U/mJn8cMIj8HddTg1+MV3ueHOy99MTV6eyoFR6oNjrI8sNXttHOX C72Q== X-Gm-Message-State: AOJu0Yz2iRZOqYcFzkgaioNWiAnXzlWXyrCuPYTabKEQX+gRq3U3kbxh upuuECQScR2zPXs6e8eK6T3BJxz924Epn5FGeEX1FxzkJfYQ/KSucNOKHXfvdvUOoCpABRADO+v g X-Received: by 2002:a05:651c:607:b0:2da:a3ff:5254 with SMTP id k7-20020a05651c060700b002daa3ff5254mr88382lje.1.1713378551636; Wed, 17 Apr 2024 11:29:11 -0700 (PDT) Received: from m1x-phil.lan ([176.187.201.23]) by smtp.gmail.com with ESMTPSA id u24-20020a05600c00d800b004185be4baefsm4533274wmm.0.2024.04.17.11.29.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Apr 2024 11:29:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 11/21] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion Date: Wed, 17 Apr 2024 20:27:56 +0200 Message-ID: <20240417182806.69446-12-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240417182806.69446-1-philmd@linaro.org> References: <20240417182806.69446-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=philmd@linaro.org; helo=mail-lj1-x232.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=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 "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 Message-Id: <20231211212003.21686-17-philmd@linaro.org> --- 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 b86209fc49..586dc56d9e 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -24,7 +24,6 @@ #include "exec/tswap.h" #include "qemu/thread.h" #include "hw/core/cpu.h" -#include "qemu/rcu.h" /* some important defines: * diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index de45ba7bc9..3fc83587c0 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -26,6 +26,7 @@ #include "exec/ramlist.h" #include "exec/ramblock.h" #include "exec/exec-all.h" +#include "qemu/rcu.h" extern uint64_t total_dirty_pages;