From patchwork Wed Feb 21 14:02:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 129075 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp664461ljc; Wed, 21 Feb 2018 06:07:29 -0800 (PST) X-Google-Smtp-Source: AH8x224fjgHHTKC7TOfBlozzAFnT1iJ0+fTisc5Jc95joG3tFkkg4G1MnVZUWVnpLYxnFghj5hCP X-Received: by 10.31.219.6 with SMTP id s6mr2392203vkg.89.1519222049828; Wed, 21 Feb 2018 06:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519222049; cv=none; d=google.com; s=arc-20160816; b=iJ7TURzPyxGndJWHkByZmOA7BwmItRelB3gk73WbEodlCCar7hLBV8KUoNc8YKPB8O UhzfmSbcKCBs53NZrJNLl0e1Zh+vE8XicPk14MeZsoIi6NM01JCtwJTvdTbMr9J0Tvzn d9x3gupm06hgtUv9Y/pllgdJiFZ4qbVLplT2ELD8LuaKMvlHk5q5DpRx6zokT2p4bCt4 t7NeMjhP9oaNIsl60s4NpmbSzhirkV1AdZA0Mei+a1uxhB3joDyQ8ig0mr+DMK4Qg2H6 +XTIvu7c8Ye3yj7eXrBmpS/Gk0J3w/qF6x1ZHx5LO3HcjCzL3oH+Ock7tdoU1Xas1xd8 /6Mw== 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 :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=MZyM92z3+fxdR9nUC+46OoAUUia6eRgl1S5ipefafIs=; b=Yj8I9ctjiDsHBi6xrO6gbXg4wdOUx48aqYaORSHgPhCp0asS3yHjqnDw/wWzrSw3W7 t3BBB98FkZ/lFJgIM8teZnjdNiV+18/vT1VqBSybdDqY5GamrcMsg9nC9i6tC2fsAlt0 phYEbhE/jHeDNc/vJQ10vmMwo9U01udF06gW+Lwx22gtuHxIvd3qCOeHOgw4YKlnI59C 6PHWstVw5SqUMdJYtGbMDqHpo/M8nBYA+ihIpQlnX7DhGbRdaX2AW2x4r0uzn62P9RpX y11FFlxWsx+9p2AgsC9IbjPa+zR1otet0/vcTjRY/fZM3BxSm+9KT7dIZkdQjh+lnsox J3Zw== 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 k202si499584vke.355.2018.02.21.06.07.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 06:07:29 -0800 (PST) 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.84_2) (envelope-from ) id 1eoV1Q-0005gn-DH; Wed, 21 Feb 2018 14:05:24 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoV1O-0005en-VE for xen-devel@lists.xen.org; Wed, 21 Feb 2018 14:05:22 +0000 X-Inumbo-ID: 310da876-1710-11e8-b9b1-635ca7ef6cff Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id 310da876-1710-11e8-b9b1-635ca7ef6cff; Wed, 21 Feb 2018 14:04:54 +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 F36C71435; Wed, 21 Feb 2018 06:03:17 -0800 (PST) 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 372623F318; Wed, 21 Feb 2018 06:03:17 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Wed, 21 Feb 2018 14:02:48 +0000 Message-Id: <20180221140259.29360-6-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180221140259.29360-1-julien.grall@arm.com> References: <20180221140259.29360-1-julien.grall@arm.com> Cc: Julien Grall , Stefano Stabellini Subject: [Xen-devel] [PATCH v4 05/16] xen/arm: mm: Remove unused relinquish_shared_pages X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , 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 --- Cc: Stefano Stabellini 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 c03f4ad674..7678e29c15 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -321,10 +321,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; -} #define INVALID_M2P_ENTRY (~0UL) #define SHARED_M2P_ENTRY (~0UL - 1UL)