[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xsm_remove_from_physmap is (so far) only defined for X86 architecture, not for ARM


  • To: <lra@xxxxxxx>, <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Fri, 11 Jan 2013 13:47:24 +0000
  • Cc: Lars Rasmusson <Lars.Rasmusson@xxxxxxx>
  • Delivery-date: Fri, 11 Jan 2013 13:48:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac3wAi9uAox0MaR+NESODkaApzxuMw==
  • Thread-topic: [Xen-devel] [PATCH] xsm_remove_from_physmap is (so far) only defined for X86 architecture, not for ARM

On 11/01/2013 13:32, "lra@xxxxxxx" <lra@xxxxxxx> wrote:

> From: Lars Rasmusson <Lars.Rasmusson@xxxxxxx>
> 
> Signed-off-by: Lars Rasmusson <Lars.Rasmusson@xxxxxxx>

If this is a build fix after my checkins this morning then:
Acked-by: Keir Fraser <keir@xxxxxxx>

> ---
>  xen/common/memory.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/xen/common/memory.c b/xen/common/memory.c
> index c8c1ef2..8230565 100644
> --- a/xen/common/memory.c
> +++ b/xen/common/memory.c
> @@ -676,12 +676,13 @@ long do_memory_op(unsigned long cmd,
> XEN_GUEST_HANDLE_PARAM(void) arg)
>          if ( rc != 0 )
>              return rc;
>  
> +#ifdef CONFIG_X86
>          if ( xsm_remove_from_physmap(current->domain, d) )
>          {
>              rcu_unlock_domain(d);
>              return -EPERM;
>          }
> -
> +#endif
>          domain_lock(d);
>  
>          page = get_page_from_gfn(d, xrfp.gpfn, NULL, P2M_ALLOC);



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.