From patchwork Wed Mar 21 04:47:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 132177 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1696472ljb; Tue, 20 Mar 2018 21:50:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELvt+6XSIZZ14DORVthwd6M8eolNtn2BeeUi+qibXeLBzXdqj1WzNhkxssZAi40cUTCOi1UC X-Received: by 2002:a24:7011:: with SMTP id f17-v6mr2650204itc.34.1521607811472; Tue, 20 Mar 2018 21:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521607811; cv=none; d=google.com; s=arc-20160816; b=L2dNlQETNwfQm0bT61MKy6nWF9XAQKPtN9XDsJ9gl2SNaW+5akwAzKg+AG4Ogs3SE/ YU5FHrbhNxavK7BD3w3B38b8iJDhspg1h9pZxgIdQ4GHGk7qDQqGWrO/58LF27IURDYs BUyF1aFgm4uDaQvT3BmYnm+hR1qBYMEE8oSTy8SHy48rV2X8F7Bu08tXmOKiIS/YsPuh e+hqG/we3d2X0gupslifKtGeUXWka7Ut74w4XfRd2WREx8F2kwSyRXX4j6hyhAI3siMH rgyJlf/LM1kunNRuNIpZSyV3lYYmqKArh1wzqX8Da4b2QM5BXz1buThxON/mPNJx13/K 5UIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:references:in-reply-to:message-id:date:to:from :arc-authentication-results; bh=F0V+VlhPGOymQCSWUkvGat0MVgxdw38+iGPZ0bBMyqY=; b=fN72kXfJc9N1mGTJQ+Gf9p/Y1mcm/RNrx4eIb1+dCkdcs0WpQMoPy20wIGNSxs6/XB bV3Ign+4vzvRw/7wKbiEGtpDoMvkIol0PD9fnQOnY2tZDwkysi2cG77EeRdfaCHRQdDt kkVesECBWxyHiGoZaDP9xxW5DRaU39wPYiunSpWeN0n50ZAQXSl6TyAOkYk+61c9uib0 J2cGdC9NZmxzaytfadBHSp46kB09qcQIOXr4T2Hnl85uiD7vEL6Wb7WsntvB6HfLFAtL hUojMzUIldk/AP7vw3p7U70NkhsxnYlcu4ppROlxbWyO8k0RDTlJZ3u4LM1vWi+8kGG0 XGiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id 101si2512410ioj.180.2018.03.20.21.50.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Mar 2018 21:50:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1eyVfM-0006nc-Kt; Wed, 21 Mar 2018 04:48:00 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1eyVfL-0006nJ-0g for xen-devel@lists.xen.org; Wed, 21 Mar 2018 04:47:59 +0000 X-Inumbo-ID: fe78ba25-2cc2-11e8-9728-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id fe78ba25-2cc2-11e8-9728-bc764e045a96; Wed, 21 Mar 2018 05:47:44 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B1BD715B2; Tue, 20 Mar 2018 21:47:57 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C7BBE3F487; Tue, 20 Mar 2018 21:47:56 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Wed, 21 Mar 2018 04:47:26 +0000 Message-Id: <20180321044737.20794-6-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180321044737.20794-1-julien.grall@arm.com> References: <20180321044737.20794-1-julien.grall@arm.com> Subject: [Xen-devel] [for-4.11][PATCH v6 05/16] xen/arm: mm: Remove unused relinquish_shared_pages X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , Stefano Stabellini , George Dunlap MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" relinquish_shared_pages is never called on Arm. Signed-off-by: Julien Grall Reviewed-by: George Dunlap --- Cc: Stefano Stabellini Changes in v6: - Add George's reviewed-by Changes in v4: - Patch added --- xen/include/asm-arm/mm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index cabb1daf30..09bec67f63 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -314,10 +314,6 @@ struct page_info *get_page_from_gva(struct vcpu *v, vaddr_t va, unsigned long flags); static inline void put_gfn(struct domain *d, unsigned long gfn) {} -static inline int relinquish_shared_pages(struct domain *d) -{ - return 0; -} /* * Arm does not have an M2P, but common code expects a handful of