From patchwork Mon Jun 19 07:41:52 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: 694002 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp2250115wru; Mon, 19 Jun 2023 00:42:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ486uI0rYzct6jso6G40cmnm6DjpxqC2WxULaS9Qbu/vtBdHRSIirIg5NU4PBu6o9fyphjH X-Received: by 2002:a05:6214:23ca:b0:625:83ab:8a42 with SMTP id hr10-20020a05621423ca00b0062583ab8a42mr10161336qvb.46.1687160563029; Mon, 19 Jun 2023 00:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687160563; cv=none; d=google.com; s=arc-20160816; b=pBL1MQovQuk8jbQSLg/Dk/dL4KyP2jgsYYK56Hlx/YL/6v8E2ICQ3+vwUzHYP6fQNZ Q29kLhLBehqt4tNPzvOL3xbK05dmk8E4bF4EGpFY6HktGm6FGiakNmAcfGtdii3VTo3k LdWiQnP2ryVXxu3Xu9ggOs1oX5DDAaFPAMjmHkw0ecDZpldZf0Jh9hgE02RdvoonOOyX k7DGl8N88BHtqFlXaq9YiWQNHZNXP+PAH+SvEtffkreF72Nbp6ZWblgy3QAzGe4xiW/+ dCJYuwTGHcVEZCQ4IpvKrUC1gV6haDZ5ylbScbsAsUvjKTVaPG/WEnEf78hH20SMy0jH IYJw== 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=BT5WpWOETZMXxgChaA/hO32lYMuyGzMiCBmIgxW1Frk=; b=CkMwYV77whFPzkKpesgWLfBxomtY1PdL6wgzDIrSLkInVynrzp46RHURgmtXn7f4Tf yPJ1VBR0zMk9BzddY+GvatZ1XOhhzehXu3kNIifj2BqF0pPEIjLVah+XNRlhFVB8LrlN 8ORl4Mro2A/PdbgPAzTZzOXaScOmbIWvLgolFLT5KPoyS5+lC9B+qDqaWd2ZYcoYw/sd l3jxNVwo5OxMe4y3yTfmutCzXX1bUmlG5EMcrTaZjNhtTMooLYRb3sO7eUs4ohm4+TOe dK/HD3U8m3eljBY0LHSXXNPn1eHymfFkA0P8/Cj+sNm3v+O0JG7LbiiCIpl8ZNGyMQLb HiIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=umUk00Nv; 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 gy12-20020a056214242c00b0062b6f9e8b7bsi13474860qvb.423.2023.06.19.00.42.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Jun 2023 00:42: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=umUk00Nv; 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 1qB9Wk-0006eZ-1o; Mon, 19 Jun 2023 03:42:18 -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 1qB9Wi-0006eJ-Bx for qemu-devel@nongnu.org; Mon, 19 Jun 2023 03:42:16 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qB9Wg-0004RP-Np for qemu-devel@nongnu.org; Mon, 19 Jun 2023 03:42:16 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30adc51b65cso3186555f8f.0 for ; Mon, 19 Jun 2023 00:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687160533; x=1689752533; 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=BT5WpWOETZMXxgChaA/hO32lYMuyGzMiCBmIgxW1Frk=; b=umUk00NvLphY0IlIANc5KbQE5bhlJwwKeZcl4fyhJ+EZSz23anx/rnx/RicmWgOAN8 vKdUKaJ+cygAKh8Ag5pABbRBT6My4hLE+VguA6+tWbYsttlF8kUYD9Yv6hJiNOBRF8te MbDEnFWFo2Ll5DnZXAhoXpAj27yUPDZgr9aBArCoCr5Uv+be4fVQtozKE738Gcz5RkRx VAocvAr6xuBWwkmL6iGs/iQSSR4/6yq1FwslQ+NPlwNGNFzkUoJwWsDAUr1eLGci6QwQ ytOjpInInl/HGD7j3iPmU/+pQkNwflfEf9Q71ElIFMPoMRbyBKW8PJfkIQewv9zxyywf Z28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160533; x=1689752533; 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=BT5WpWOETZMXxgChaA/hO32lYMuyGzMiCBmIgxW1Frk=; b=N618W5DyUcqbT2P68gEUPCgtlPNytaDUEyD9xUpLlemzKc3YpG0I0mALEzxFmuFOR/ x7vo4eXeuYmofBvhFC2xiADr+EnrQ+RbGN8wGVLSbLZuCmHEXUFphgcQugKFTLeOCWTl 7LXefcPOWQmfO9ILsDCdAFP/LjEBRqyS7s/SESoFoIxJI4FSjCFgJGQkoPx2nlzycByb DdMbzSjIxc1p+0aHM0Epnokq+5Fpg+9JY1xI2+1Mo6UuP2ehDMtIeAAGw4jf5Jwv5lQp EbCOkThXEe2MQerjTJ/gQs2SFHgspt36fw9TU/RVKTX0PRRAZjZ5eDWNgSbNBBHsR9my /yJA== X-Gm-Message-State: AC+VfDzCDD12lUsRObu/LD+cooOgk54JlUQs3l3xWSrJ5dlUYaR6wXlc Qpr9yyh71xU+AYsPh/6tGZnjQLITiiUlZI+AxSHo6Q== X-Received: by 2002:a5d:668c:0:b0:30f:ca58:cb10 with SMTP id l12-20020a5d668c000000b0030fca58cb10mr9968812wru.22.1687160533141; Mon, 19 Jun 2023 00:42:13 -0700 (PDT) Received: from localhost.localdomain (194.red-95-127-33.staticip.rima-tde.net. [95.127.33.194]) by smtp.gmail.com with ESMTPSA id t1-20020adfe101000000b0030e5a63e2dbsm31033657wrz.80.2023.06.19.00.42.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jun 2023 00:42:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Edgar E. Iglesias" , Helge Deller , Paolo Bonzini , Richard Henderson , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include Date: Mon, 19 Jun 2023 09:41:52 +0200 Message-Id: <20230619074153.44268-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230619074153.44268-1-philmd@linaro.org> References: <20230619074153.44268-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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=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/address-spaces.h" declares get_system_io() and get_system_memory(), both returning a MemoryRegion pointer. MemoryRegion is forward declared in "qemu/typedefs.h", so we don't need any declaration from "exec/memory.h" here. Remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/address-spaces.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/exec/address-spaces.h b/include/exec/address-spaces.h index db8bfa9a92..0d0aa61d68 100644 --- a/include/exec/address-spaces.h +++ b/include/exec/address-spaces.h @@ -19,8 +19,6 @@ * you're one of them. */ -#include "exec/memory.h" - #ifndef CONFIG_USER_ONLY /* Get the root memory region. This interface should only be used temporarily