From patchwork Tue Apr 3 15:32:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 132761 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3954162ljb; Tue, 3 Apr 2018 08:35:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Njfg06lYJaFtlPQ4FmHFsyTM8U4tGQdlRoYUCi3d1DcWaD881uZOSlstbBEc+WbveFOWe X-Received: by 10.107.14.12 with SMTP id 12mr12301536ioo.209.1522769718572; Tue, 03 Apr 2018 08:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522769718; cv=none; d=google.com; s=arc-20160816; b=ceeQvCVmCVLdzc2+TOJEBrzWlGx2RWP4vCk3DBMr3l5/nHFbHbroebJHUPyTW9+4hg w2S5b3RrEJ6/xKfqD+WpME4QVJN7AfWTEEh0sCeNkz0/+5675xCh72gp0Yzrinivsur4 MMnfWJT9dczTM6yFP9SkyUEypFvzwkHCYESApL4r3fXHyYV390qrH92yGKKZgWM9J6Rf zo0PH+OfV85O449yqs1vvoeGXUbFtGW3BbhmLoSGYLBdU7wEKuSECJYdfsrumCdwN4SX ZZPY1QgDOMHzS8edsux04dUJNb5wy0nQbZkKfhZJ08imUc2yt2HobT35Zp61Jsd/yByi UNCw== 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=W3cCcYEyD2Dyo11KxIfjlN6cE0gWlpgVUxJquQ0VYxox7TIZM1rsubtEfOI0kF2ioG 0bzCIW4Iu93yWYXK3lPeRXSjoLvTePkwadAWn3fvbOvhPq4c3/HWWaMJts4J+BV23jzh zN8zPKb06/JIfu82KJl+jVrq4BlyrpaXjWKLsiOmOXj/aI64IIdQhfsB7hn7fjotviYH V2hx+NH3+YNlfFfEQrd9W5CErJPTFgDXwe3KnLs1boOWV9KUzcP9yDJ7NaUoaUzGAsjw /4dHO3nWTtupVShlanYA0CshjwqVBZX2RgmMJluWEwp/rqqSp/2MJZSqZY5oS32Nln7P W8Ew== 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 q135si1930931ioe.149.2018.04.03.08.35.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Apr 2018 08:35:18 -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 1f3Nvq-0007p1-1h; Tue, 03 Apr 2018 15:33:10 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1f3Nvp-0007ob-Bp for xen-devel@lists.xen.org; Tue, 03 Apr 2018 15:33:09 +0000 X-Inumbo-ID: 79552c63-3754-11e8-8249-2fda3a446a53 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id 79552c63-3754-11e8-8249-2fda3a446a53; Tue, 03 Apr 2018 15:34:18 +0000 (UTC) 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 DFE7D1596; Tue, 3 Apr 2018 08:33:07 -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 018213F24A; Tue, 3 Apr 2018 08:33:06 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Tue, 3 Apr 2018 16:32:40 +0100 Message-Id: <20180403153251.19595-6-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180403153251.19595-1-julien.grall@arm.com> References: <20180403153251.19595-1-julien.grall@arm.com> Subject: [Xen-devel] [for-4.11][PATCH v7 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 Acked-by: Stefano Stabellini --- 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