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

Re: [Xen-devel] [PATCH v2 1/2] x86/dom0: take alignment into account when populating p2m in PVH mode



>>> On 28.12.18 at 12:18, <roger.pau@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/hvm/dom0_build.c
> +++ b/xen/arch/x86/hvm/dom0_build.c
> @@ -91,16 +91,54 @@ static int __init pvh_populate_memory_range(struct domain 
> *d,
>                                              unsigned long start,
>                                              unsigned long nr_pages)
>  {
> -    unsigned int order = MAX_ORDER, i = 0;
> +    struct {
> +        unsigned long align;

It's .init.* data only, but anyway - why "long" instead of "int"?

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