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

Re: [Xen-devel] [PATCH v2 5/6] libxc: introduce xc_map_domain_meminfo (and xc_unmap_domain_meminfo)



On Tue, 2013-09-10 at 19:54 +0200, Dario Faggioli wrote:
> +static inline xen_pfn_t pfn_to_mfn(xen_pfn_t pfn, xen_pfn_t *p2m, int gwidth)
> +{
> +  return ((xen_pfn_t) ((gwidth==8)?
> +                       (((uint64_t *)p2m)[(pfn)]):
> +                       ((((uint32_t *)p2m)[(pfn)]) == 0xffffffffU ?
> +                            (-1UL) :
> +                            (((uint32_t *)p2m)[(pfn)]))));
> +}
> +

OMG. (since it's just moved no need to fix, but I couldn't let it pass).




_______________________________________________
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®.