From patchwork Fri Aug 11 18:12:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 9896423 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 18309602DA for ; Fri, 11 Aug 2017 18:14:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08E9928C88 for ; Fri, 11 Aug 2017 18:14:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0AE828C8B; Fri, 11 Aug 2017 18:14:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A95B928C88 for ; Fri, 11 Aug 2017 18:14:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgEQ3-0004nq-Dy; Fri, 11 Aug 2017 18:12:23 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgEQ1-0004nU-Sv for xen-devel@lists.xen.org; Fri, 11 Aug 2017 18:12:22 +0000 Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id B7/45-04533-583FD895; Fri, 11 Aug 2017 18:12:21 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRWlGSWpSXmKPExsVysyfVTbflc2+ kwelmLYslHxezODB6HN39mymAMYo1My8pvyKBNeP3ztqCRtaKK7euMTYwTmLpYuTiEBLYzChx dOM3JgjnNKPEis7p7F2MnBxsApoSdz5/YgKxRQSkJa59vswIYjMLOEi8+XiPBcQWFjCWOHpuO huIzSKgKtFx/BVYPa+AhcTGjsdgNRIC8hK72i6ygticApYSHbdOgs0XAqrZ3L6QaQIj9wJGhl WMGsWpRWWpRbqG5npJRZnpGSW5iZk5uoYGxnq5qcXFiempOYlJxXrJ+bmbGIH+ZQCCHYwvT3s eYpTkYFIS5U3w6Y0U4kvKT6nMSCzOiC8qzUktPsQow8GhJMHb9xEoJ1iUmp5akZaZAww0mLQE B4+SCO8PkDRvcUFibnFmOkTqFKMxR9OHLV+YOF5N+P+NSYglLz8vVUqc9xVIqQBIaUZpHtwgW ARcYpSVEuZlBDpNiKcgtSg3swRV/hWjOAejkjDEQp7MvBK4fa+ATmECOqXPB+yUkkSElFQDY8 3Zg+V9vK/SV7obnIiMmh7txX/U/sCeN19+rJ28gzdiX8icYLlp+dk1Vw/GHLgSvjRzaUFVakJ Cb/D+wsf6ahf9snxyGxh6Ps7Xncok5PQ3fNea37bKfCl7pfQzNfbmfX/v9SPFryLCj7n15NNK +frPRycVtnySOfREQ0kjuLe6JTn07EcDJZbijERDLeai4kQA6X9+0XsCAAA= X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-2.tower-31.messagelabs.com!1502475140!97968683!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 48278 invoked from network); 11 Aug 2017 18:12:20 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-2.tower-31.messagelabs.com with SMTP; 11 Aug 2017 18:12:20 -0000 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 E155315AD; Fri, 11 Aug 2017 11:12:19 -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 21D763F577; Fri, 11 Aug 2017 11:12:18 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 11 Aug 2017 19:12:00 +0100 Message-Id: <20170811181211.5893-2-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170811181211.5893-1-julien.grall@arm.com> References: <20170811181211.5893-1-julien.grall@arm.com> Cc: Julien Grall , sstabellini@kernel.org Subject: [Xen-devel] [PATCH] xen/arm: p2m: Remove p2m_operation X-BeenThere: xen-devel@lists.xen.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.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is a left over of before the P2M code was reworked. So drop it. Signed-off-by: Julien Grall --- xen/arch/arm/p2m.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 7b2aac4c90..c484469e6c 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -611,10 +611,6 @@ static int p2m_mem_access_radix_set(struct p2m_domain *p2m, gfn_t gfn, return rc; } -enum p2m_operation { - MEMACCESS, -}; - /* * Put any references on the single 4K page referenced by pte. * TODO: Handle superpages, for now we only take special references for leaf