diff mbox

[Xen-devel] xen/arm: p2m: Remove p2m_operation

Message ID 20170811181421.6120-1-julien.grall@arm.com
State Accepted
Commit ae3f9f2af088e512b054352f3aa186f3d4157b5c
Headers show

Commit Message

Julien Grall Aug. 11, 2017, 6:14 p.m. UTC
This is a left over of before the P2M code was reworked. So drop it.

Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/p2m.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Stefano Stabellini Aug. 21, 2017, 8:17 p.m. UTC | #1
On Fri, 11 Aug 2017, Julien Grall wrote:
> This is a left over of before the P2M code was reworked. So drop it.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  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
> -- 
> 2.11.0
>
diff mbox

Patch

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