From patchwork Fri Aug 11 18:14:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 9896427 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 8C875602DA for ; Fri, 11 Aug 2017 18:17:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E58928C97 for ; Fri, 11 Aug 2017 18:17:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7045B28C99; Fri, 11 Aug 2017 18:17:02 +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 EE22528C98 for ; Fri, 11 Aug 2017 18:16:58 +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 1dgES9-000570-3Y; Fri, 11 Aug 2017 18:14:33 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgES8-00056r-Lj for xen-devel@lists.xen.org; Fri, 11 Aug 2017 18:14:32 +0000 Received: from [85.158.143.35] by server-5.bemta-6.messagelabs.com id 94/9A-03368-804FD895; Fri, 11 Aug 2017 18:14:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRWlGSWpSXmKPExsVysyfVTZf9S2+ kwecHYhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bvnbUFjawVV25dY2xgnMTSxcjFISSwmVHi 5qIprBDOaUaJBSv3AmU4OdgENCXufP7EBGKLCEhLXPt8mRHEZhZwkHjz8R5YjbCAscTRc9PZu hg5OFgEVCWuvS0HMXkFLCR27rIEqZAQkJfY1XaRdQIj5wJGhlWMGsWpRWWpRbqGpnpJRZnpGS W5iZk5uoYGZnq5qcXFiempOYlJxXrJ+bmbGIG+YgCCHYzflgUcYpTkYFIS5U3w6Y0U4kvKT6n MSCzOiC8qzUktPsQow8GhJMH75hNQTrAoNT21Ii0zBxg0MGkJDh4lEV7lz0Bp3uKCxNzizHSI 1ClGY46mD1u+MHG8mvD/G5MQS15+XqqUOO9dkEkCIKUZpXlwg2DBfIlRVkqYlxHoNCGegtSi3 MwSVPlXjOIcjErCvOtBpvBk5pXA7XsFdAoT0Cl9PmCnlCQipKQaGDUj3d9oJF2Mu5rMURX7v/ TZmaMlmeY2xVcS3aP+h1Q0OmbHlhXevSS+fPJi4bv/7EP5Ob4FLcnasNBZyuL5rKXxm6/fE3R bfLtS3565NEy9ef/HGSnHF/xp3sw4afOmPXHuDIELFQ02CVzYe3q/1v6oufE/f6w5sFixNOvP fJmcxKM2qcuF85RYijMSDbWYi4oTAbAXuTZhAgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-15.tower-21.messagelabs.com!1502475270!77394824!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 39095 invoked from network); 11 Aug 2017 18:14:31 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-15.tower-21.messagelabs.com with SMTP; 11 Aug 2017 18:14:31 -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 A749613D5; Fri, 11 Aug 2017 11:14:30 -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 DB6A53F577; Fri, 11 Aug 2017 11:14:29 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 11 Aug 2017 19:14:21 +0100 Message-Id: <20170811181421.6120-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 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 Reviewed-by: Stefano Stabellini --- 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