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

Re: [Xen-devel] [PATCH 09/14] x86/p2m: Switch the two_gfns infrastructure to using gfn_t



>>> On 21.11.18 at 14:21, <andrew.cooper3@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/mm/mem_sharing.c
> +++ b/xen/arch/x86/mm/mem_sharing.c
> @@ -901,8 +901,8 @@ static int share_pages(struct domain *sd, gfn_t sgfn, 
> shr_handle_t sh,
>      struct two_gfns tg;
>      struct rmap_iterator ri;
>  
> -    get_two_gfns(sd, gfn_x(sgfn), &smfn_type, NULL, &smfn,
> -                 cd, gfn_x(cgfn), &cmfn_type, NULL, &cmfn,
> +    get_two_gfns(sd, sgfn, &smfn_type, NULL, &smfn,
> +                 cd, cgfn, &cmfn_type, NULL, &cmfn,
>                   0, &tg);

I guess the function invocation fits on two lines now. In any
event
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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